about summary refs log tree commit diff
path: root/converter/ppm/ppmtompeg/gethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/ppm/ppmtompeg/gethostname.c')
-rw-r--r--converter/ppm/ppmtompeg/gethostname.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/converter/ppm/ppmtompeg/gethostname.c b/converter/ppm/ppmtompeg/gethostname.c
index d20af17c..649fff91 100644
--- a/converter/ppm/ppmtompeg/gethostname.c
+++ b/converter/ppm/ppmtompeg/gethostname.c
@@ -1,3 +1,4 @@
+#define _DEFAULT_SOURCE /* New name for SVID & BSD source defines */
 #define _XOPEN_SOURCE 500  /* Make sure strdup() is in string.h */
 #define _BSD_SOURCE   /* Make sure strdup() is in string.h */