summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-10-06 12:51:58 +0200
committerGitHub <noreply@github.com>2018-10-06 12:51:58 +0200
commit86d384e95343f51a5ea724fd040173311fb337d3 (patch)
treea9d79951997e7b061239e289f18473734e13c734 /drivers
parentd2043fad67b000188d2cdea9ac1ca6abe9f92ab7 (diff)
parent5f45476dc1b785ef5412e2d2f973c3caa764c0a8 (diff)
Merge pull request #22783 from eska014/html5-warnings
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>