diff options
Diffstat (limited to 'other')
-rw-r--r-- | other/pamexec.c | 1 | ||||
-rw-r--r-- | other/pamsplit.c | 1 | ||||
-rw-r--r-- | other/pamx/pamx.c | 1 | ||||
-rw-r--r-- | other/pamx/window.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/other/pamexec.c b/other/pamexec.c index d14d8752..c3a1ee78 100644 --- a/other/pamexec.c +++ b/other/pamexec.c @@ -11,6 +11,7 @@ ******************************************************************************/ +#define _DEFAULT_SOURCE 1 /* New name for SVID & BSD source defines */ #define _BSD_SOURCE 1 /* Make sure strdup() is in string.h */ #define _XOPEN_SOURCE 500 /* Make sure strdup() is in string.h */ diff --git a/other/pamsplit.c b/other/pamsplit.c index 26eb0d59..93c1726a 100644 --- a/other/pamsplit.c +++ b/other/pamsplit.c @@ -9,6 +9,7 @@ Contributed to the public domain by its author. ******************************************************************************/ +#define _DEFAULT_SOURCE 1 /* New name for SVID & BSD source defines */ #define _BSD_SOURCE 1 /* Make sure strdup() is in string.h */ #define _XOPEN_SOURCE 500 /* Make sure strdup() is in string.h */ diff --git a/other/pamx/pamx.c b/other/pamx/pamx.c index e22693ea..35900f82 100644 --- a/other/pamx/pamx.c +++ b/other/pamx/pamx.c @@ -3,6 +3,7 @@ Copyright information is in the file COPYRIGHT */ +#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> */ #include <signal.h> diff --git a/other/pamx/window.c b/other/pamx/window.c index e2de1577..d907163b 100644 --- a/other/pamx/window.c +++ b/other/pamx/window.c @@ -6,6 +6,7 @@ See COPYRIGHT file for copyright information. */ +#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 strcaseeq() is in nstring.h */ |