From: Josef 'Jeff' Sipek Date: Thu, 14 Jan 2016 19:11:07 +0000 (-0500) Subject: devpollmplexer doesn't compile due to missing sigset_t X-Git-Tag: dnsdist-1.0.0-alpha2~74^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e22156da64a61270dec80ad2992190d9580339a2;p=pdns devpollmplexer doesn't compile due to missing sigset_t closes #3000 --- diff --git a/pdns/devpollmplexer.cc b/pdns/devpollmplexer.cc index d3995e9c1..e79bff0a5 100644 --- a/pdns/devpollmplexer.cc +++ b/pdns/devpollmplexer.cc @@ -1,6 +1,11 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif +/* + * NOTE: sys/devpoll.h relies on sigset_t being already defined so we need + * to include sys/signal.h *before* including sys/devpoll.h. + */ +#include #include #include "mplexer.hh" #include "sstuff.hh"