Simplify CFLAGS handling in configure and expose crypt() on NetBSD
[ircu2.10.12-pk.git] / ircd / ircd_crypt_native.c
index f33a5250490de3a6aae50e2f5172a05a44751d31..fe267c5b19866ab0127ec9d514049268d62565e2 100644 (file)
@@ -25,8 +25,7 @@
  * function (typically a DES encryption routine, but can be anything nowadays).
  * 
  */
-#define _XOPEN_SOURCE
-#define _XOPEN_VERSION 4
+#define _XOPEN_SOURCE 600
 
 #include "config.h"
 #include "ircd_crypt.h"