summaryrefslogtreecommitdiff
path: root/mkpasswd.c
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2018-09-11 01:15:34 +0200
committerMarco d'Itri <md@linux.it>2018-09-16 03:36:38 +0200
commitc1cb4b2ca0ad1f237cccc84a4f1b84cd60a76a15 (patch)
tree13f3f7ee492e1b369db3ae88791697761de6d2f1 /mkpasswd.c
parent44775cb342d63ec3fbc7eafee604a59c643913a0 (diff)
downloadwhois-c1cb4b2ca0ad1f237cccc84a4f1b84cd60a76a15.tar.gz
mkpasswd: update the libowcrypt Makefile section
Distributions which have crypt_gensalt in libowcrypt now should define a HAVE_LIBOWCRYPT=1 Makefile variable.
Diffstat (limited to 'mkpasswd.c')
-rw-r--r--mkpasswd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mkpasswd.c b/mkpasswd.c
index e2c2cbc..7450ad3 100644
--- a/mkpasswd.c
+++ b/mkpasswd.c
@@ -40,7 +40,6 @@
#include <sys/stat.h>
#endif
#ifdef HAVE_LINUX_CRYPT_GENSALT
-#define _OW_SOURCE
#include <crypt.h>
#endif
#ifdef HAVE_GETTIMEOFDAY