diff --git a/ChangeLog b/ChangeLog index 37dc51c31..43419a251 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-08-07 Keith Packard + + * include/dix-config.h.in: + Re-add _XOPEN_SOURCE as it's needed *sometimes*. + Place it in #ifndef to avoid whinging. + 2005-08-07 Keith Packard * .cvsignore: 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