summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2005-07-13 07:23:56 +0000
committerKeith Packard <keithp@keithp.com>2005-07-13 07:23:56 +0000
commitb6d1bb58b0559b537a638b1d7c8ff05ced19cf87 (patch)
tree71125a565cfd47985d1f92f0ca087742f3b6c582
parent4964320655475205d0ea96f7efdc410e6ea3f2bf (diff)
Make some minor source adjustments so that we don not need to useXORG-6_8_99_16XORG-6_8_99_15
-D_XOPEN_SOURCE -D_BSD_SOURCE everywhere as this will leak out of the modular environment and into application build processes, potentially foulling up their compiles.
-rw-r--r--src/lbx_zlib/lbx_zlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lbx_zlib/lbx_zlib.c b/src/lbx_zlib/lbx_zlib.c
index 029d888..e7105a0 100644
--- a/src/lbx_zlib/lbx_zlib.c
+++ b/src/lbx_zlib/lbx_zlib.c
@@ -55,6 +55,7 @@ from The Open Group.
#ifdef WIN32
#define _WILLWINSOCK_
#endif
+#define _BSD_SOURCE
#include <X11/Xos.h>
#include <X11/Xfuncs.h>
#include <stdio.h>