projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b56237d
)
* fix HAVE_SYSCALL_H detection
author
Wilfried Göesgens
<willi@citadel.org>
Sun, 20 Jun 2010 21:44:14 +0000
(21:44 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sun, 20 Jun 2010 21:44:14 +0000
(21:44 +0000)
citadel/threads.c
patch
|
blob
|
history
diff --git
a/citadel/threads.c
b/citadel/threads.c
index 2f7475ff12129741d78f582b71e1ea5a1a5e19f2..14d00d7bd593bf3522a3314cfda17d52fd6205b6 100644
(file)
--- a/
citadel/threads.c
+++ b/
citadel/threads.c
@@
-18,6
+18,7
@@
#include <fcntl.h>
#include <signal.h>
+#include "sysdep.h"
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
@@
-28,11
+29,15
@@
# include <time.h>
# endif
#endif
+
#ifdef HAVE_SYSCALL_H
-#include <syscall.h>
-#else if HAVE_SYS_SYSCALL_H
-#include <sys/syscall.h>
+# include <syscall.h>
+#else
+# if HAVE_SYS_SYSCALL_H
+# include <sys/syscall.h>
+# endif
#endif
+
#include <libcitadel.h>
#include "threads.h"