From 4202f1180bb6951338e094912586c9780ec8b044 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 24 Aug 2014 03:10:57 +0000 Subject: Declare _XOPEN_SOURCE >= 500 to make strdup defined git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2257 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- editor/pnmmontage.c | 1 + 1 file changed, 1 insertion(+) (limited to 'editor/pnmmontage.c') diff --git a/editor/pnmmontage.c b/editor/pnmmontage.c index 47827610..e54afc45 100644 --- a/editor/pnmmontage.c +++ b/editor/pnmmontage.c @@ -10,6 +10,7 @@ * implied warranty. */ +#define _XOPEN_SOURCE 500 /* Make sure strdup() is in string.h */ #define _BSD_SOURCE /* Make sure strdup() is in */ #include #include -- cgit 1.4.1