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/include/includes.h | 2 +- source3/nsswitch/winbind_nss_config.h | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/include/includes.h b/source3/include/includes.h index 1c72220d4f..325880fad9 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -57,7 +57,7 @@ #ifdef RELIANTUNIX /* * has to be included before any other to get - * large file support on Reliant UNIX + * large file support on Reliant UNIX. Yes, it's broken :-). */ #ifdef HAVE_UNISTD_H #include 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