diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-11-29 09:29:24 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-11-29 09:29:24 +0000 |
commit | 534e6a2e1b22c1f40d8ba98300baff2c7e473aef (patch) | |
tree | 7ae57815eb683f0d7fd163fb6a469923c75f4770 | |
parent | 6192feac174627a9191de7c8f162f4ce78d272df (diff) | |
download | samba-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)
-rw-r--r-- | source3/include/includes.h | 10 |
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> |