r4086 - trunk/varnish-cache/bin/varnishd
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Thu May 21 10:50:34 CEST 2009
Author: tfheen
Date: 2009-05-21 10:50:34 +0200 (Thu, 21 May 2009)
New Revision: 4086
Modified:
trunk/varnish-cache/bin/varnishd/cache_waiter_epoll.c
Log:
Move ifdef check for EPOLLRDHUP
We checked for EPOLLRDHUP before including sys/epoll.h which led to
compilation failures.
Modified: trunk/varnish-cache/bin/varnishd/cache_waiter_epoll.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_waiter_epoll.c 2009-05-20 10:46:01 UTC (rev 4085)
+++ trunk/varnish-cache/bin/varnishd/cache_waiter_epoll.c 2009-05-21 08:50:34 UTC (rev 4086)
@@ -37,10 +37,6 @@
#if defined(HAVE_EPOLL_CTL)
-#ifndef EPOLLRDHUP
-# define EPOLLRDHUP 0
-#endif
-
#include <stdio.h>
#include <string.h>
#include <errno.h>
@@ -50,6 +46,10 @@
#include <sys/epoll.h>
+#ifndef EPOLLRDHUP
+# define EPOLLRDHUP 0
+#endif
+
#include "shmlog.h"
#include "cache.h"
#include "cache_waiter.h"
More information about the varnish-commit
mailing list