about summary refs log tree commit diff
path: root/lib/libsystem.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2018-04-26 02:22:05 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2018-04-26 02:22:05 +0000
commit2e574549bfd75c44dfcf6249728e969698f25f45 (patch)
tree479c0645e9201525aa44073a6fa80faed3858ea7 /lib/libsystem.c
parent73b8573c9a0fa55b69e6847f963ef6815c9767da (diff)
downloadnetpbm-mirror-2e574549bfd75c44dfcf6249728e969698f25f45.tar.gz
netpbm-mirror-2e574549bfd75c44dfcf6249728e969698f25f45.tar.xz
netpbm-mirror-2e574549bfd75c44dfcf6249728e969698f25f45.zip
Remove _XOPEN_SOURCE because in combination with _BSD_SOURCE, it causes nstring.h to refer to strcasecmp() and OpenBSD string.h not to define strcasecmp, thus making this fail to compile. We don't know what _XOPEN_SOURCE was supposed to be for.
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3217 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/libsystem.c')
-rw-r--r--lib/libsystem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libsystem.c b/lib/libsystem.c
index 57073dce..bf2416a4 100644
--- a/lib/libsystem.c
+++ b/lib/libsystem.c
@@ -18,7 +18,6 @@
    Contributed to the public domain.
 =============================================================================*/
 #define _DEFAULT_SOURCE /* New name for SVID & BSD source defines */
-#define _XOPEN_SOURCE
 #define _BSD_SOURCE  /* Make SIGWINCH defined on OpenBSD */
 
 #include <stdarg.h>