From 534e6a2e1b22c1f40d8ba98300baff2c7e473aef Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 29 Nov 1998 09:29:24 +0000 Subject: 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) --- source3/include/includes.h | 10 ++++++---- 1 file 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 #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 #endif +#endif #ifdef HAVE_NET_IF_H #include -- cgit