]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
solve getpid() process.h function order
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 31 May 2011 20:55:02 +0000 (20:55 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 31 May 2011 20:55:02 +0000 (20:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1129914 13f79535-47bb-0310-9956-ffa450edef68

modules/core/mod_watchdog.c
modules/core/mod_watchdog.h

index 1642ee4690272765c374f7977b8c04a337fc033f..ff6c77cd9bd22ad461d20f0ada288e3a38f5e354 100644 (file)
 /* Watchdog module.
  */
 
+#include "apr.h"
+#if APR_HAVE_UNISTD_H
+#include <unistd.h>         /* for getpid() */
+#endif
+#if APR_HAVE_PROCESS_H
+#include <process.h>        /* for getpid() on Win32 */
+#endif
+
 #include "mod_watchdog.h"
 #include "ap_provider.h"
 #include "ap_mpm.h"
index 2ec5fdda91645590d2ad16993226d0963e76f304..43253dea1b00c1abe6d2881122cd29cb18d79018 100644 (file)
 #include "apr_global_mutex.h"
 #include "apr_thread_mutex.h"
 
-#if APR_HAVE_UNISTD_H
-#include <unistd.h>         /* for getpid() */
-#endif
-#if APR_HAVE_PROCESS_H
-#include <process.h>        /* for getpid() on Win32 */
-#endif
-
 #ifdef __cplusplus
 extern "C" {
 #endif