From 0e877bd53bcffcaeab738610ca64c685c99f8263 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Mon, 24 Aug 1998 18:53:37 +0000 Subject: resource.h on FreeBSD 2.1 requires sys/time.h to come first. (This used to be commit e94ab03a4f97ff7ee7bb938245cf054a00f950fd) --- source3/include/includes.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'source3/include') diff --git a/source3/include/includes.h b/source3/include/includes.h index a2419bc42c..5d050bf627 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -49,6 +49,17 @@ #include +#ifdef TIME_WITH_SYS_TIME +#include +#include +#else +#ifdef HAVE_SYS_TIME_H +#include +#else +#include +#endif +#endif + #ifdef HAVE_SYS_RESOURCE_H #include #endif @@ -88,17 +99,6 @@ #include #endif -#ifdef TIME_WITH_SYS_TIME -#include -#include -#else -#ifdef HAVE_SYS_TIME_H -#include -#else -#include -#endif -#endif - #ifdef HAVE_FCNTL_H #include #else -- cgit