Browse Source

[mod_auth] include unistd.h for crypt() on *nix

(needed by *BSD in addition to Mac OS)
master
Glenn Strauss 7 months ago
parent
commit
7a15bfcf04
  1. 2
      src/mod_authn_file.c

2
src/mod_authn_file.c

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

Loading…
Cancel
Save