From 049160cce62d02bd3b3f501368fc21eb2ca66dfa Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Thu, 10 Apr 2014 15:01:56 +0200 Subject: poll: changed to include instead of This is a very cosmetic change but I think it is good to be standards compliant. The standard defines and not : 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 to [-Wcpp] ----------------------------------------------------------------------- Signed-off-by: Christian Wiese Signed-off-by: Daniel Borkmann --- curvetun_client.c | 2 +- curvetun_server.c | 2 +- ring.h | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/curvetun_client.c b/curvetun_client.c index 19fe94c..0b96e75 100644 --- a/curvetun_client.c +++ b/curvetun_client.c @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/curvetun_server.c b/curvetun_server.c index 097295b..36a55fe 100644 --- a/curvetun_server.c +++ b/curvetun_server.c @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/ring.h b/ring.h index 55d5e96..9522410 100644 --- a/ring.h +++ b/ring.h @@ -20,7 +20,6 @@ #include #include #include -#include #include "built_in.h" #include "die.h" -- cgit v1.2.3-54-g00ecf