about summary refs log tree commit diff
path: root/generator/pbmtextps.c
diff options
context:
space:
mode:
Diffstat (limited to 'generator/pbmtextps.c')
-rw-r--r--generator/pbmtextps.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generator/pbmtextps.c b/generator/pbmtextps.c
index 5ed9b1a8..f543618d 100644
--- a/generator/pbmtextps.c
+++ b/generator/pbmtextps.c
@@ -25,9 +25,8 @@
  * http://partners.adobe.com/public/developer/ps/index_specs.html
  */
 
-#define _DEFAULT_SOURCE /* New name for SVID & BSD source defines */
-#define _XOPEN_SOURCE   /* Make sure popen() is in stdio.h */
-#define _BSD_SOURCE     /* Make sure stdrup() is in string.h */
+#define _XOPEN_SOURCE 500
+  /* Make sure popen() is in stdio.h, strdup() is in string.h */
 #include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>