aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2018-02-01 05:12:05 -0600
committerEric Engestrom2018-03-20 13:19:26 -0500
commit0926f0af54d654b1a95826066edcae30b8052581 (patch)
tree546efdeadf79644a90ca0c0418dbdea848b81ef4 /xf86atomic.h
parent431f1a147e33b3fae7ea78a47d40a6014b682ebd (diff)
downloadexternal-libdrm-0926f0af54d654b1a95826066edcae30b8052581.tar.gz
external-libdrm-0926f0af54d654b1a95826066edcae30b8052581.tar.xz
external-libdrm-0926f0af54d654b1a95826066edcae30b8052581.zip
meson,configure: include config.h automatically
This will prevent any more missing `#include "config.h"` bug, at the cost of having to recompile some files that didn't need to be when changing build options. Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'xf86atomic.h')
-rw-r--r--xf86atomic.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/xf86atomic.h b/xf86atomic.h
index 70e91866..2d733bd5 100644
--- a/xf86atomic.h
+++ b/xf86atomic.h
@@ -34,10 +34,6 @@
34#ifndef LIBDRM_ATOMICS_H 34#ifndef LIBDRM_ATOMICS_H
35#define LIBDRM_ATOMICS_H 35#define LIBDRM_ATOMICS_H
36 36
37#ifdef HAVE_CONFIG_H
38#include "config.h"
39#endif
40
41#if HAVE_LIBDRM_ATOMIC_PRIMITIVES 37#if HAVE_LIBDRM_ATOMIC_PRIMITIVES
42 38
43#define HAS_ATOMIC_OPS 1 39#define HAS_ATOMIC_OPS 1