]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/gameserv.cpp
GameServ is now configured for using autoconf. Just ./configure and make to compile...
[irc/gameservirc.git] / gameserv / gameserv.cpp
index 03275098d940c1b2e26c7af01ae750ab01c6fa84..889e1404c3e75e53b669bec918b2c901d5c459d1 100644 (file)
@@ -1,11 +1,20 @@
+#include "config.h"
+#include "extern.h"
 #include "sockhelp.h"
 #include "aClient.h"
 #include "list.h"
-#include "extern.h"
 #include <cctype>
 #include <fstream.h>
+
+#if defined(HAVE_CRYPT_H)
+
 #include <crypt.h>
 
+#elif defined(HAVE_UNISTD_H)
+
+#include <unistd.h> 
+
+#endif
 
 List<aClient> players;
 Monster *monsters[LEVELS][MONSTERS];   // Monsters per level. Total = MONSTERS * LEVELS