about summary refs log tree commit diff
path: root/converter/ppm/winicontoppm.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/ppm/winicontoppm.c')
-rw-r--r--converter/ppm/winicontoppm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/converter/ppm/winicontoppm.c b/converter/ppm/winicontoppm.c
index 6b1376b2..2c9015f5 100644
--- a/converter/ppm/winicontoppm.c
+++ b/converter/ppm/winicontoppm.c
@@ -14,6 +14,7 @@
 ** 03/2003 - Added 24+32 bpp capability.
 */
 
+#define _DEFAULT_SOURCE 1  /* New name for SVID & BSD source defines */
 #define _BSD_SOURCE 1      /* Make sure strdup() is in string.h */
 #define _XOPEN_SOURCE 500  /* Make sure strdup() is in string.h */