diff options
-rw-r--r-- | lib/libpm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpm.c b/lib/libpm.c index 54bd04cb..55869f7f 100644 --- a/lib/libpm.c +++ b/lib/libpm.c @@ -8,6 +8,7 @@ Netpbm library subroutines. **************************************************************************/ +#define _BSD_SOURCE /* Make sure strdup is in string.h */ #define _XOPEN_SOURCE 500 /* Make sure ftello, fseeko are defined */ #include "netpbm/pm_config.h" |