summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLeon Krause <lk@leonkrause.com>2018-10-05 22:59:05 +0200
committerLeon Krause <lk@leonkrause.com>2018-10-06 00:08:17 +0200
commit5f45476dc1b785ef5412e2d2f973c3caa764c0a8 (patch)
tree40388889463312cba55eb5db25eafb8c446e6597 /drivers
parenta41cf404a9013db6aed56d6ed9b051c2a4948bff (diff)
Fix warnings in HTML5 build outside platform files
Diffstat (limited to 'drivers')
-rw-r--r--drivers/unix/net_socket_posix.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/unix/net_socket_posix.cpp b/drivers/unix/net_socket_posix.cpp
index 3f03175403..2cc2032cbb 100644
--- a/drivers/unix/net_socket_posix.cpp
+++ b/drivers/unix/net_socket_posix.cpp
@@ -42,12 +42,8 @@
#include <sys/types.h>
#include <unistd.h>
#ifndef NO_FCNTL
-#ifdef __HAIKU__
#include <fcntl.h>
#else
-#include <sys/fcntl.h>
-#endif
-#else
#include <sys/ioctl.h>
#endif
#include <netinet/in.h>