summaryrefslogtreecommitdiff
path: root/xf86atomic.h
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2018-02-01 11:12:05 +0000
committerEric Engestrom <eric.engestrom@imgtec.com>2018-03-20 18:19:26 +0000
commit0926f0af54d654b1a95826066edcae30b8052581 (patch)
tree546efdeadf79644a90ca0c0418dbdea848b81ef4 /xf86atomic.h
parent431f1a147e33b3fae7ea78a47d40a6014b682ebd (diff)
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 @@
#ifndef LIBDRM_ATOMICS_H
#define LIBDRM_ATOMICS_H
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#if HAVE_LIBDRM_ATOMIC_PRIMITIVES
#define HAS_ATOMIC_OPS 1