summaryrefslogtreecommitdiffstats
path: root/runtime/debug.c
diff options
context:
space:
mode:
authorYann Droneaud <yann@droneaud.fr>2010-03-04 08:00:39 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-04 08:00:39 +0100
commitcd8c6abcc8cea54924e55dffe820364ad98a40df (patch)
treeb5f57356ca062c4d11ffebaa4db151011b465bd5 /runtime/debug.c
parentd080ffe467f6f58be82ee14dbeed94026002f1e0 (diff)
downloadrsyslog-cd8c6abcc8cea54924e55dffe820364ad98a40df.tar.gz
rsyslog-cd8c6abcc8cea54924e55dffe820364ad98a40df.tar.xz
rsyslog-cd8c6abcc8cea54924e55dffe820364ad98a40df.zip
Includes "config.h" before any other header.
For consistency, ./configure generated "config.h" must be the first header include through out the project. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
Diffstat (limited to 'runtime/debug.c')
-rw-r--r--runtime/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/debug.c b/runtime/debug.c
index 9547eee6..20474a9a 100644
--- a/runtime/debug.c
+++ b/runtime/debug.c
@@ -1,4 +1,3 @@
-#include <sys/syscall.h>
/* debug.c
*
* This file proides debug and run time error analysis support. Some of the
@@ -550,6 +549,7 @@ if(pLog == NULL) {
return; /* if we don't know it yet, we can not clean up... */
}
#endif
+#include <sys/syscall.h>
/* we found the last lock entry. We now need to see from which FuncDB we need to
* remove it. This is recorded inside the mutex log entry.