]> granicus.if.org Git - pdns/commitdiff
devpollmplexer doesn't compile due to missing sigset_t
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Thu, 14 Jan 2016 19:11:07 +0000 (14:11 -0500)
committerJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Thu, 14 Jan 2016 19:11:07 +0000 (14:11 -0500)
closes #3000

pdns/devpollmplexer.cc

index d3995e9c1a4e67fbf17f7ed1502f72cc9787a5fa..e79bff0a5df1f6a47e121de43304d591c1ba5da0 100644 (file)
@@ -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 <sys/signal.h>
 #include <sys/devpoll.h>
 #include "mplexer.hh"
 #include "sstuff.hh"