poll: changed to include <poll.h> instead of <sys/poll.h>
commit049160cce62d02bd3b3f501368fc21eb2ca66dfa
authorChristian Wiese <chris@opensde.org>
Thu, 10 Apr 2014 13:01:56 +0000 (10 15:01 +0200)
committerDaniel Borkmann <dborkman@redhat.com>
Thu, 10 Apr 2014 15:40:05 +0000 (10 17:40 +0200)
treee7585da660f768a943d0a3282a46565e74c712ad
parentdcaf7e37a0a47bb83c0470aa9b5e0c1bcb521dcf
poll: changed to include <poll.h> instead of <sys/poll.h>

This is a very cosmetic change but I think it is good to be
standards compliant. The standard defines <poll.h> and not
<sys/poll.h>:

http://pubs.opengroup.org/onlinepubs/009696799/basedefs/poll.h.html

When building against musl libc it silences some annoying cpp
warnings like this:

-----------------------------------------------------------------------
warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
-----------------------------------------------------------------------

Signed-off-by: Christian Wiese <chris@opensde.org>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
curvetun_client.c
curvetun_server.c
ring.h