From 75bc35899c2b97e2b8f7704247a81cb6c21998f5 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Wed, 16 Nov 2016 22:33:34 +0000 Subject: Add poorly-named _DEFAULT_SOURCE to all files that had _BSD_SOURCE or _SVID_SOURCE, because for some reason GNU C library is replacing the latter with the former. This eliminates compiler warnings about _BSD_SOURCE/_SVID_SOURCE being deprecated git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2836 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/pbm/pbmtoepson.c | 1 + 1 file changed, 1 insertion(+) (limited to 'converter/pbm/pbmtoepson.c') diff --git a/converter/pbm/pbmtoepson.c b/converter/pbm/pbmtoepson.c index bb36791d..122a438f 100644 --- a/converter/pbm/pbmtoepson.c +++ b/converter/pbm/pbmtoepson.c @@ -11,6 +11,7 @@ ** implied warranty. */ +#define _DEFAULT_SOURCE /* New name for SVID & BSD source defines */ #define _BSD_SOURCE /* Make sure strcaseeq() is in nstring.h */ #include -- cgit 1.4.1