$NetBSD: patch-poll_c-build-fix,v 1.2 2011/05/21 15:33:00 wiz Exp $ Fix compilation on platforms without poll(). --- src/pulsecore/poll.c.orig 2009-03-05 11:28:10.000000000 +0000 +++ src/pulsecore/poll.c @@ -41,11 +41,16 @@ #include #endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif + #include "winsock.h" #ifndef HAVE_POLL_H #include +#include #include "poll.h"