From 2e574549bfd75c44dfcf6249728e969698f25f45 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Thu, 26 Apr 2018 02:22:05 +0000 Subject: 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 --- lib/libsystem.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/libsystem.c') 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 -- cgit 1.4.1