summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2005-08-08 02:30:31 +0000
committerKeith Packard <keithp@keithp.com>2005-08-08 02:30:31 +0000
commit129e812c339879b68bb162331ac9b7e0f86a7474 (patch)
tree7ece93af6a0ccb950e122d762c6cf4ac4676e012 /include
parent4dfc3357a78a52ef70750608138dfeef0371cbc4 (diff)
downloadxserver-129e812c339879b68bb162331ac9b7e0f86a7474.tar.gz
Re-add _XOPEN_SOURCE as it's needed *sometimes*. Place it in #ifndef to
avoid whinging.
Diffstat (limited to 'include')
-rw-r--r--include/dix-config.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index b6c537f14..2fcfc6671 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -371,6 +371,11 @@
/* POSIX-compliant source */
#undef _POSIX_SOURCE
+#ifndef _XOPEN_SOURCE
+/* X/Open-compliant source */
+#undef _XOPEN_SOURCE
+#endif
+
/* Define to empty if `const' does not conform to ANSI C. */
#undef const