From dcc01ec5fb16b3529afef6c13324463db37ad147 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 4 Apr 2001 17:20:57 +0000 Subject: Fix for broken RelientUNIX. Jeremy. (This used to be commit 6808ec0d471d8b436506bbd7b9db67c28832be76) --- source3/nsswitch/winbind_nss_config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/nsswitch/winbind_nss_config.h') diff --git a/source3/nsswitch/winbind_nss_config.h b/source3/nsswitch/winbind_nss_config.h index c8e43f396c..0f2008fc20 100644 --- a/source3/nsswitch/winbind_nss_config.h +++ b/source3/nsswitch/winbind_nss_config.h @@ -29,6 +29,16 @@ #include +#ifdef RELIANTUNIX +/* + * has to be included before any other to get + * large file support on Reliant UNIX. Yes, it's broken :-). + */ +#ifdef HAVE_UNISTD_H +#include +#endif +#endif /* RELIANTUNIX */ + #include #ifdef HAVE_STDLIB_H -- cgit