summaryrefslogtreecommitdiff
path: root/dbe
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-01-25 14:39:00 +0100
committerPovilas Kanapickas <povilas@radix.lt>2024-10-10 13:38:31 +0000
commita917f6a8a883f0f4f7614c1dbb326a6b4c8f7fbf (patch)
treef59eda2a235bf39764ec3cafc6338f338682db59 /dbe
parent4cac1ee46d224fc83b7f7e6fbbf820739f0c1fab (diff)
drop obsolete HAVE_DIX_CONFIG_H
The symbol controls whether to include dix-config.h, and it's always set, thus we don't need it (and dozens of ifdef's) anymore. This commit only removes them from our own source files, where we can guarantee that dix-config.h is present - leaving the (potentially exported) headers untouched. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Diffstat (limited to 'dbe')
-rw-r--r--dbe/dbe.c2
-rw-r--r--dbe/midbe.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/dbe/dbe.c b/dbe/dbe.c
index 29cac9533..681d8934c 100644
--- a/dbe/dbe.c
+++ b/dbe/dbe.c
@@ -32,9 +32,7 @@
/* INCLUDES */
-#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
-#endif
#include <string.h>
#include <stdint.h>
diff --git a/dbe/midbe.c b/dbe/midbe.c
index c97dac8de..379b7a024 100644
--- a/dbe/midbe.c
+++ b/dbe/midbe.c
@@ -32,9 +32,7 @@
/* INCLUDES */
-#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
-#endif
#include <X11/X.h>
#include <X11/Xproto.h>