diff options
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/grap/main.c | 1 | ||||
-rw-r--r-- | src/cmd/rio/menu.c | 1 | ||||
-rw-r--r-- | src/cmd/troff/n2.c | 1 | ||||
-rw-r--r-- | src/cmd/troff/n7.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/grap/main.c b/src/cmd/grap/main.c index db2098f5..38c2419c 100644 --- a/src/cmd/grap/main.c +++ b/src/cmd/grap/main.c @@ -1,4 +1,5 @@ #define _BSD_SOURCE 1 /* strdup, mkstemp */ +#define _DEFAULT_SOURCE 1 #include <stdio.h> #include <signal.h> #include <math.h> diff --git a/src/cmd/rio/menu.c b/src/cmd/rio/menu.c index 379291cc..dc23f1c3 100644 --- a/src/cmd/rio/menu.c +++ b/src/cmd/rio/menu.c @@ -4,6 +4,7 @@ /* Copyright (c) 1994-1996 David Hogan, see README for licence details */ #define _SVID_SOURCE 1 /* putenv in glibc */ +#define _DEFAULT_SOURCE 1 #include <stdio.h> #include <signal.h> #include <unistd.h> diff --git a/src/cmd/troff/n2.c b/src/cmd/troff/n2.c index 6495d330..2943e553 100644 --- a/src/cmd/troff/n2.c +++ b/src/cmd/troff/n2.c @@ -5,6 +5,7 @@ */ #define _BSD_SOURCE 1 /* popen */ +#define _DEFAULT_SOURCE 1 #include "tdef.h" #include "fns.h" #include "ext.h" diff --git a/src/cmd/troff/n7.c b/src/cmd/troff/n7.c index 17ab2bd5..15bcfd5b 100644 --- a/src/cmd/troff/n7.c +++ b/src/cmd/troff/n7.c @@ -1,4 +1,5 @@ #define _BSD_SOURCE 1 /* isascii */ +#define _DEFAULT_SOURCE 1 #include "tdef.h" #include "fns.h" #include "ext.h" |