summaryrefslogtreecommitdiff
path: root/source3/include
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
commit534e6a2e1b22c1f40d8ba98300baff2c7e473aef (patch)
tree7ae57815eb683f0d7fd163fb6a469923c75f4770 /source3/include
parent6192feac174627a9191de7c8f162f4ce78d272df (diff)
downloadsamba-534e6a2e1b22c1f40d8ba98300baff2c7e473aef.tar.gz
samba-534e6a2e1b22c1f40d8ba98300baff2c7e473aef.tar.bz2
samba-534e6a2e1b22c1f40d8ba98300baff2c7e473aef.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. (This used to be commit 21d779bf7def71d5d9c899eabbb6a110860bd8e2)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index aeac177683..82487c4e22 100644
--- a/source3/include/includes.h
+++ b/source3/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>