diff options
Diffstat (limited to 'editor')
-rw-r--r-- | editor/pnmmontage.c | 1 | ||||
-rw-r--r-- | editor/ppmcolormask.c | 1 |
2 files changed, 2 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> diff --git a/editor/ppmcolormask.c b/editor/ppmcolormask.c index eed64c19..0d7a214c 100644 --- a/editor/ppmcolormask.c +++ b/editor/ppmcolormask.c @@ -9,6 +9,7 @@ Contributed to the public domain by its author. =========================================================================*/ +#define _BSD_SOURCE /* Make sure strdup() is in <string.h> */ #include <assert.h> #include <string.h> |