From: Wilfried Göesgens Date: Sun, 20 Jun 2010 21:44:14 +0000 (+0000) Subject: * fix HAVE_SYSCALL_H detection X-Git-Tag: v7.86~148 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=1b2fc16a19048f9df2cd9f864fdbb34b5507bc84;p=citadel.git * fix HAVE_SYSCALL_H detection --- 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"