Fix heaps of warnings when compiling with gcc under Digital UNIX. Include route.h
authorRichard Sharpe <sharpe@samba.org>
Sat, 11 Apr 1998 13:02:11 +0000 (13:02 +0000)
committerRichard Sharpe <sharpe@samba.org>
Sat, 11 Apr 1998 13:02:11 +0000 (13:02 +0000)
and mbuf.h at a strategic point ... Wierd stuff really, because the Digital
compiler does not complain either way, but GCC does.

source/include/includes.h

index 2ba069aa76ab74997a23a72013b7e387cb9f40d1..a1723a55c646fbddc84b9b382ef75fb46946a3f8 100644 (file)
 #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