vlserver-header-updates-20010711
authorNathan Neulinger <nneul@umr.edu>
Wed, 11 Jul 2001 17:32:51 +0000 (17:32 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 11 Jul 2001 17:32:51 +0000 (17:32 +0000)
autoconf-style header inclusion

src/vlserver/vlclient.c
src/vlserver/vlserver.c

index f1e4a2e..a659a48 100644 (file)
@@ -14,15 +14,26 @@ RCSID("$Header$");
 
 #include <afs/stds.h>
 #include <sys/types.h>
-#ifdef AFS_NT40_ENV
+#ifdef HAVE_TIME_H
 #include <time.h>
+#endif
+#ifdef HAVE_FCNTL_H
 #include <fcntl.h>
+#endif
+#ifdef AFS_NT40_ENV
 #include <winsock2.h>
 #include <WINNT/afsevent.h>
-#else
+#endif
+#ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
+#endif
+#ifdef HAVE_SYS_FILE_H
 #include <sys/file.h>
+#endif
+#ifdef HAVE_NETDB_H
 #include <netdb.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #endif
 #include <stdio.h>
index 9d5a984..d547baf 100644 (file)
@@ -15,17 +15,21 @@ RCSID("$Header$");
 #include <afs/stds.h>
 #include <sys/types.h>
 #include <signal.h>
-#ifdef AFS_NT40_ENV
+#ifdef HAVE_FCNTL_H
 #include <fcntl.h>
+#endif
+#ifdef AFS_NT40_ENV
+#include <winsock2.h>
 #include <WINNT/afsevent.h>
-#else
+#endif
+#ifdef HAVE_SYS_FILE_H
 #include <sys/file.h>
 #endif
 #include <time.h>
-#ifdef AFS_NT40_ENV
-#include <winsock2.h>
-#else
+#ifdef HAVE_NETDB_H
 #include <netdb.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #endif
 #include <stdio.h>