summaryrefslogtreecommitdiffstats
path: root/source/include/includes.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-11-29 09:29:24 +0000
committerAndrew Tridgell <tridge@samba.org>1998-11-29 09:29:24 +0000
commit21d779bf7def71d5d9c899eabbb6a110860bd8e2 (patch)
treedcd1655897d3a6129c5435875b59dce0878c6f97 /source/include/includes.h
parent702263bba555a1d7c7999d40e5789b7e920dbce4 (diff)
downloadsamba-21d779bf7def71d5d9c899eabbb6a110860bd8e2.tar.gz
samba-21d779bf7def71d5d9c899eabbb6a110860bd8e2.tar.xz
samba-21d779bf7def71d5d9c899eabbb6a110860bd8e2.zip
removed include of net/route.h because it prevents compilation under
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.
Diffstat (limited to 'source/include/includes.h')
-rw-r--r--source/include/includes.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index aeac1776839..82487c4e224 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -220,14 +220,16 @@
#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>