summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--curvetun_client.c2
-rw-r--r--curvetun_server.c2
-rw-r--r--ring.h1
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 <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <netinet/tcp.h>
#include <netinet/udp.h>
#include <linux/if_tun.h>
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 <netinet/in.h>
#include <netinet/tcp.h>
#include <netinet/udp.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/wait.h>
diff --git a/ring.h b/ring.h
index 55d5e96..9522410 100644
--- a/ring.h
+++ b/ring.h
@@ -20,7 +20,6 @@
#include <sys/ioctl.h>
#include <string.h>
#include <poll.h>
-#include <sys/poll.h>
#include "built_in.h"
#include "die.h"