about summary refs log tree commit diff
path: root/editor/pnmmontage.c
diff options
context:
space:
mode:
Diffstat (limited to 'editor/pnmmontage.c')
-rw-r--r--editor/pnmmontage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/pnmmontage.c b/editor/pnmmontage.c
index a7b74510..4ccff497 100644
--- a/editor/pnmmontage.c
+++ b/editor/pnmmontage.c
@@ -10,6 +10,7 @@
  * implied warranty.
  */
 
+#define _BSD_SOURCE  /* Make sure strdup() is in <string.h> */
 #include <assert.h>
 #include <limits.h>
 #include <string.h>