Commit f0e121c1 authored by Idar Tollefsen's avatar Idar Tollefsen Committed by Tim-Philipp Müller
Browse files

poll: include correct poll.h based on autoconf test

https://bugzilla.gnome.org/show_bug.cgi?id=667286
parent 1bf892ba
......@@ -75,7 +75,12 @@
#define EINPROGRESS WSAEINPROGRESS
#else
#define _GNU_SOURCE 1
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
#endif
#ifdef HAVE_POLL_H
#include <poll.h>
#endif
#include <sys/time.h>
#include <sys/socket.h>
#endif
......
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