removed include of net/route.h because it prevents compilation under
authorAndrew Tridgell <tridge@samba.org>
Sun, 29 Nov 1998 09:29:24 +0000 (09:29 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 29 Nov 1998 09:29:24 +0000 (09:29 +0000)
SCO 3.2 (including it also requires lots of streams stuff, making it a
total mess).

If this causes problems on some other platform then please add a
comment stating what platform and why the include is needed so we can
work out how to test for it properly.

source/include/includes.h

index aeac1776839922edff463eea0be66ae3afe6f5bf..82487c4e2245bcb70c3145a4e6db91f1ef243e31 100644 (file)
 #include <sys/sem.h>
 #endif
 
+#if 0
 /*
- * Seems to be needed by some OS's that complain
- * about struct rtentry not being defined.
- */
+ *  I have removed this as it prevents compilation under SCO Server
+ *  3.2. If you need to add it back in then please add a comment as to
+ *  why it's needed and what OS it's needed for so we can work out how
+ *  to test for it properly (tridge) */
 #ifdef HAVE_NET_ROUTE_H
 #include <net/route.h>
 #endif
+#endif
 
 #ifdef HAVE_NET_IF_H
 #include <net/if.h>