The fdqueue code is not for WIN32 (per mpm_unix.c), and does not seem to
require all the #includes (system) it claimed (at least in .h).
[Reverted by r1821619]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1821527 13f79535-47bb-0310-9956-
ffa450edef68
#ifndef WIN32
+#include "mpm_unix.h"
+
#include "apr.h"
#include "apr_thread_proc.h"
#include "apr_signal.h"
#include "apr_optional.h"
#include "apr_allocator.h"
#include "apr_atomic.h"
+#include "apr_errno.h"
-#include "httpd.h"
#include "http_config.h"
#include "http_core.h"
#include "http_log.h"
#include "scoreboard.h"
#include "util_mutex.h"
-#include "mpm_unix.h"
-
#ifdef HAVE_PWD_H
#include <pwd.h>
#endif
*/
/**
- * @file event/fdqueue.h
+ * @file mpm_unix.h
* @brief fd queue declarations
*
- * @addtogroup APACHE_MPM_EVENT
+ * @defgroup APACHE_MPM Multi-Processing Modules
+ * @ingroup APACHE
* @{
*/
-#ifndef FDQUEUE_H
-#define FDQUEUE_H
+#ifndef MPM_UNIX_H
+#define MPM_UNIX_H
+
+#ifndef WIN32
+
#include "httpd.h"
-#include <stdlib.h>
-#if APR_HAVE_UNISTD_H
-#include <unistd.h>
-#endif
#include <apr_thread_mutex.h>
#include <apr_thread_cond.h>
-#include <sys/types.h>
-#if APR_HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#endif
-#include <apr_errno.h>
#include "ap_mpm.h"
apr_status_t ap_queue_interrupt_one(fd_queue_t * queue);
apr_status_t ap_queue_term(fd_queue_t * queue);
-#endif /* FDQUEUE_H */
+#endif /* WIN32 */
+
+#endif /* MPM_UNIX_H */
/** @} */