about summary refs log tree commit diff
path: root/lib/libpm.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-02-11 22:33:35 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-02-11 22:33:35 +0000
commitff7cbee1d7d5354eb910a13f3723bed480ecccf9 (patch)
treeadad00929aa942b9dc0f8de98405fbcfdc8c8613 /lib/libpm.c
parenta0f975d5f1d535d233373cb465a56e9612e99a1a (diff)
downloadnetpbm-mirror-ff7cbee1d7d5354eb910a13f3723bed480ecccf9.tar.gz
netpbm-mirror-ff7cbee1d7d5354eb910a13f3723bed480ecccf9.tar.xz
netpbm-mirror-ff7cbee1d7d5354eb910a13f3723bed480ecccf9.zip
Add _BSD_SOURCE
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1632 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/libpm.c')
-rw-r--r--lib/libpm.c1
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"