diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2008-12-04 17:49:30 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2008-12-04 17:49:30 +0000 |
commit | df983bfa5256e40c0c1c9226a4b65ad73cb4d22b (patch) | |
tree | 86238f563ec60a31d2b0c96df97b3a8fb9bb720e /converter/other | |
parent | 7ca9e9c2c7ea6839e2276cbdd5d1c2498bd8fb5e (diff) | |
download | netpbm-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 'converter/other')
-rw-r--r-- | converter/other/pgmtoppm.c | 1 | ||||
-rw-r--r-- | converter/other/svgtopam.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/converter/other/pgmtoppm.c b/converter/other/pgmtoppm.c index cface024..12bc7d25 100644 --- a/converter/other/pgmtoppm.c +++ b/converter/other/pgmtoppm.c @@ -10,6 +10,7 @@ ** implied warranty. */ +#define _BSD_SOURCE /* Make sure strdup() is in <string.h> */ #include <string.h> #include "mallocvar.h" diff --git a/converter/other/svgtopam.c b/converter/other/svgtopam.c index 896c5f03..56825a4e 100644 --- a/converter/other/svgtopam.c +++ b/converter/other/svgtopam.c @@ -26,6 +26,7 @@ ============================================================================*/ +#define _BSD_SOURCE /* Make sure strdup() is in <string.h> */ #include <assert.h> #include <string.h> #include <stdio.h> |