mkpasswd: define _DEFAULT_SOURCE

Since glibc 2.20 it replaces the deprecated _BSD_SOURCE macro.
This commit is contained in:
Marco d'Itri 2016-03-28 18:37:43 +02:00
parent 9f747a880e
commit 3b38b4fd1d

View File

@ -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 */