* sendto_kdc.c: Include sys/ioctl.h and sys/filio.h only if ENABLE_TCP is set
authorKen Raeburn <raeburn@mit.edu>
Tue, 11 Jun 2002 19:13:36 +0000 (19:13 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 11 Jun 2002 19:13:36 +0000 (19:13 +0000)
and _WIN32 is not defined.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14494 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/sendto_kdc.c

index 60633a972ce01b06c2b8c051682064a3afac1fb1..e075175e1079b2b133dac473512ff09c6ed2748a 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-11  Ken Raeburn  <raeburn@mit.edu>
+
+       * sendto_kdc.c: Include sys/ioctl.h and sys/filio.h only if
+       ENABLE_TCP is set and _WIN32 is not defined.
+
 2002-06-10  Ken Raeburn  <raeburn@mit.edu>
 
        * sendto_kdc.c: Include sys/ioctl.h and sys/filio.h if
index a5ff0abc76628c28e0d2da12069cf834d9a35ab0..10fe435cab98c63b692e76c8cc3b3eaf190c65b1 100644 (file)
 #include <sys/select.h>
 #endif
 
+#ifdef _WIN32
+#define ENABLE_TCP 0 /* for now */
+#else
+#define ENABLE_TCP 1
+#endif
+
+#if defined(ENABLE_TCP) && !defined(_WIN32)
 /* For FIONBIO.  */
 #include <sys/ioctl.h>
 #ifdef HAVE_SYS_FILIO_H
 #include <sys/filio.h>
 #endif
-
-#ifdef _WIN32
-#define ENABLE_TCP 0 /* for now */
-#else
-#define ENABLE_TCP 1
 #endif
 
 /*