summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>1998-04-11 13:02:11 +0000
committerRichard Sharpe <sharpe@samba.org>1998-04-11 13:02:11 +0000
commitc0c2353b77021389480ddd2cab887ea8f31769ed (patch)
tree25033ad61e66a224f0b4af555d50553321705f4d /source3
parent7744a23bb73ced285cfda60fcbf52a10518c0470 (diff)
downloadsamba-c0c2353b77021389480ddd2cab887ea8f31769ed.tar.gz
samba-c0c2353b77021389480ddd2cab887ea8f31769ed.tar.bz2
samba-c0c2353b77021389480ddd2cab887ea8f31769ed.zip
Fix heaps of warnings when compiling with gcc under Digital UNIX. Include route.h
and mbuf.h at a strategic point ... Wierd stuff really, because the Digital compiler does not complain either way, but GCC does. (This used to be commit 241fde3c713c91961b6bcb97ecb046ac2f3bb00b)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 2ba069aa76..a1723a55c6 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -182,6 +182,10 @@
#ifdef POSIX_H
#include <bsd/net/if.h>
#else
+#ifdef OSF1
+#include <net/route.h>
+#include <sys/mbuf.h>
+#endif
#include <net/if.h>
#endif
#endif