about summary refs log tree commit diff
path: root/other/pamx
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-12-04 17:49:30 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-12-04 17:49:30 +0000
commitdf983bfa5256e40c0c1c9226a4b65ad73cb4d22b (patch)
tree86238f563ec60a31d2b0c96df97b3a8fb9bb720e /other/pamx
parent7ca9e9c2c7ea6839e2276cbdd5d1c2498bd8fb5e (diff)
downloadnetpbm-mirror-df983bfa5256e40c0c1c9226a4b65ad73cb4d22b.tar.gz
netpbm-mirror-df983bfa5256e40c0c1c9226a4b65ad73cb4d22b.tar.xz
netpbm-mirror-df983bfa5256e40c0c1c9226a4b65ad73cb4d22b.zip
Make -ansi compile work
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@781 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other/pamx')
-rw-r--r--other/pamx/pamx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/other/pamx/pamx.c b/other/pamx/pamx.c
index 49aa07c9..de390098 100644
--- a/other/pamx/pamx.c
+++ b/other/pamx/pamx.c
@@ -3,6 +3,7 @@
    Copyright information is in the file COPYRIGHT
 */
 
+#define _BSD_SOURCE  /* Make sure strdup() is in <string.h> */
 #include <signal.h>
 #include <unistd.h>
 #include <errno.h>