[mod_auth] include unistd.h for crypt() on Mac OS

master
Glenn Strauss 2 years ago
parent a473d48c43
commit 060be714be
  1. 2
      src/mod_authn_file.c

@ -7,6 +7,8 @@
#elif defined(__linux__)
/* linux needs _XOPEN_SOURCE */
# define _XOPEN_SOURCE
#elif defined(__APPLE__) && defined(__MACH__)
#include <unistd.h>
#endif
#if defined(HAVE_LIBCRYPT) && !defined(HAVE_CRYPT)

Loading…
Cancel
Save