summaryrefslogtreecommitdiff
path: root/drivers/unix/packet_peer_udp_posix.cpp
diff options
context:
space:
mode:
authorMarianoGNU <marianognu.easyrpg@gmail.com>2015-10-17 23:38:33 -0300
committerMarianoGNU <marianognu.easyrpg@gmail.com>2015-10-17 23:38:33 -0300
commit4452e262539ad9d52a5980305584d897829986d1 (patch)
treecde7f3bdc36e727a21f55938a131083f84e043a6 /drivers/unix/packet_peer_udp_posix.cpp
parent68fb30aaea0acf3ff279831d2d77b2e7129e4b69 (diff)
parent97f483af0a3e040f73c2df957bd092af2f6c085b (diff)
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'drivers/unix/packet_peer_udp_posix.cpp')
-rw-r--r--drivers/unix/packet_peer_udp_posix.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/unix/packet_peer_udp_posix.cpp b/drivers/unix/packet_peer_udp_posix.cpp
index 26a0b29228..94b4c35923 100644
--- a/drivers/unix/packet_peer_udp_posix.cpp
+++ b/drivers/unix/packet_peer_udp_posix.cpp
@@ -13,7 +13,11 @@
#include <stdio.h>
#ifndef NO_FCNTL
-#include <sys/fcntl.h>
+ #ifdef __HAIKU__
+ #include <fcntl.h>
+ #else
+ #include <sys/fcntl.h>
+ #endif
#else
#include <sys/ioctl.h>
#endif