Commit 1ef435fb authored by Tollef Fog Heen's avatar Tollef Fog Heen

Move ifdef check for EPOLLRDHUP

We checked for EPOLLRDHUP before including sys/epoll.h which led to
compilation failures.

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4086 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent baddced5
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment