[mod_cluster-commits] mod_cluster SVN: r819 - trunk/native/advertise.
do-not-reply at jboss.org
do-not-reply at jboss.org
Fri Apr 27 08:54:10 EDT 2012
Author: jfrederic.clere at jboss.com
Date: 2012-04-27 08:54:10 -0400 (Fri, 27 Apr 2012)
New Revision: 819
Modified:
trunk/native/advertise/mod_advertise.c
Log:
Fix the getpid() part of MODCLUSTER-297.
Modified: trunk/native/advertise/mod_advertise.c
===================================================================
--- trunk/native/advertise/mod_advertise.c 2012-04-26 13:28:30 UTC (rev 818)
+++ trunk/native/advertise/mod_advertise.c 2012-04-27 12:54:10 UTC (rev 819)
@@ -30,6 +30,11 @@
#include "mod_core.h"
#include "util_script.h"
+#if APR_HAVE_UNISTD_H
+/* for getpid() */
+#include <unistd.h>
+#endif
+
/*
* Declare ourselves so the configuration routines can find and know us.
* We'll fill it in at the end of the module.
More information about the mod_cluster-commits
mailing list