Просмотр исходного кода

* Some unneeded stuff

svn: 846
Bryan Drewery 22 лет назад
Родитель
Сommit
715a6724e5
1 измененных файлов с 3 добавлено и 11 удалено
  1. 3 11
      src/common.h

+ 3 - 11
src/common.h

@@ -12,10 +12,6 @@
 #  include "config.h"
 #endif
 
-#ifdef CYGWIN_HACKS
-#  undef USE_IPV6
-#endif /* CYGWIN_HACKS */
-
 /* AUTHHASH is pointless without AUTHCMDS. */
 #ifdef S_AUTHHASH
 # ifndef S_AUTHCMDS
@@ -23,21 +19,17 @@
 # endif /* !S_AUTHCMDS */
 #endif /* S_AUTHHASH */
 
-
 #include "garble.h"
 #include "conf.h"
 #include "debug.h"
 #include "eggdrop.h"
 #include "flags.h"
-#include "log.h"	/* putlog() */
-#include "dccutil.h"	/* dprintf() */
+#include "log.h"
+#include "dccutil.h"
 #include "chan.h"
 #include "compat/compat.h"
 
-#ifdef HAVE_UNISTD_H
-#  include <unistd.h>
-#endif
-
+#include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>