From 9579b9823707b9acadfd7bf24d1c540eacf53fc0 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 18 Nov 1998 22:04:24 +0000 Subject: Added OSF1 changes to HEAD (-lsecurity etc.) groupdb/groupdb.c: Fixed compile error caught by IRIX compiler. utils/smbpasswd.c: Fixed SunOS optind, optarg problem. Jeremy. (This used to be commit 30af39ae1edf51d5d06a1764982e5df431c142ac) --- source3/include/includes.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source3/include/includes.h') diff --git a/source3/include/includes.h b/source3/include/includes.h index 92b415efa1..26bf872037 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -216,6 +216,15 @@ #include #endif +/* + * Seems to be needed by some OS's that complain + * about struct rtentry not being defined. + */ + +#ifdef HAVE_NET_ROUTE_H +#include +#endif + #ifdef HAVE_NET_IF_H #include #endif -- cgit