From 1b2fc16a19048f9df2cd9f864fdbb34b5507bc84 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Sun, 20 Jun 2010 21:44:14 +0000 Subject: [PATCH] * fix HAVE_SYSCALL_H detection --- citadel/threads.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/citadel/threads.c b/citadel/threads.c index 2f7475ff1..14d00d7bd 100644 --- a/citadel/threads.c +++ b/citadel/threads.c @@ -18,6 +18,7 @@ #include #include +#include "sysdep.h" #if TIME_WITH_SYS_TIME # include # include @@ -28,11 +29,15 @@ # include # endif #endif + #ifdef HAVE_SYSCALL_H -#include -#else if HAVE_SYS_SYSCALL_H -#include +# include +#else +# if HAVE_SYS_SYSCALL_H +# include +# endif #endif + #include #include "threads.h" -- 2.30.2