]> granicus.if.org Git - apache/commitdiff
Workaround to get leader/follower compiling on recent Linuxes:
authorBrian Pane <brianp@apache.org>
Sat, 20 Apr 2002 20:41:33 +0000 (20:41 +0000)
committerBrian Pane <brianp@apache.org>
Sat, 20 Apr 2002 20:41:33 +0000 (20:41 +0000)
apr_atomic.h includes some <asm/*.h> header files that clash
with stdlib.h, so I've moved apr_atomic.h so that it's included
after all the other header files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94734 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/experimental/leader/leader.c

index 3581b473d1bdcdf2b237f624337c84ee15c135c2..7804684092d4898690899a587d66188a2b97ab33 100644 (file)
@@ -72,7 +72,6 @@
 #include "apr_thread_cond.h"
 #include "apr_thread_mutex.h"
 #include "apr_proc_mutex.h"
-#include "apr_atomic.h"
 #define APR_WANT_STRFUNC
 #include "apr_want.h"
 
 #include <signal.h>
 #include <limits.h>             /* for INT_MAX */
 
+#include "apr_atomic.h"
+
 /* Limit on the total --- clients will be locked out if more servers than
  * this are needed.  It is intended solely to keep the server from crashing
  * when things get out of hand.