diff options
author | Marco d'Itri <md@linux.it> | 2016-03-28 18:37:43 +0200 |
---|---|---|
committer | Marco d'Itri <md@linux.it> | 2016-03-28 18:37:43 +0200 |
commit | 3b38b4fd1daa1bab0c7f7343ae8f0231a170de9c (patch) | |
tree | d247e2862451719b1665b8aa50f62260d9e484c6 /mkpasswd.c | |
parent | 9f747a880e538457f80c237d80c3ab675c5b9a66 (diff) | |
download | whois-3b38b4fd1daa1bab0c7f7343ae8f0231a170de9c.tar.gz |
mkpasswd: define _DEFAULT_SOURCE
Since glibc 2.20 it replaces the deprecated _BSD_SOURCE macro.
Diffstat (limited to 'mkpasswd.c')
-rw-r--r-- | mkpasswd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -19,6 +19,7 @@ /* for crypt, snprintf and strcasecmp */ #define _XOPEN_SOURCE 500 #define _BSD_SOURCE 1 +#define _DEFAULT_SOURCE 1 #define __EXTENSIONS__ 1 /* System library */ |