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 --- other/pamx/pamx.c | 1 + other/pamx/window.c | 1 + 2 files changed, 2 insertions(+) (limited to 'other') diff --git a/other/pamx/pamx.c b/other/pamx/pamx.c index dbb8b62a..e22693ea 100644 --- a/other/pamx/pamx.c +++ b/other/pamx/pamx.c @@ -3,6 +3,7 @@ Copyright information is in the file COPYRIGHT */ +#define _XOPEN_SOURCE 500 /* Make sure strdup() is in string.h */ #define _BSD_SOURCE /* Make sure strdup() is in */ #include #include diff --git a/other/pamx/window.c b/other/pamx/window.c index 3cded1b3..e2de1577 100644 --- a/other/pamx/window.c +++ b/other/pamx/window.c @@ -6,6 +6,7 @@ See COPYRIGHT file for copyright information. */ +#define _XOPEN_SOURCE 500 /* Make sure strdup() is in string.h */ #define _BSD_SOURCE /* Make sure strcaseeq() is in nstring.h */ #include -- cgit 1.4.1