mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
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 commit is contained in:
parent
702263bba5
commit
21d779bf7d
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user