diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2015-10-17 10:48:57 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2015-10-17 10:48:57 -0300 |
| commit | c2515d352ed9324ec017ff29882d30bc0b3a5a0d (patch) | |
| tree | 3c6ddf5ec4cce813ee334a8ef1682fa823c40194 /drivers/unix/packet_peer_udp_posix.cpp | |
| parent | c9ff40e1400c6351c57ec3c5734bc638ee42f3b7 (diff) | |
| parent | c925fbce2da5925009d5f78183e017f9252af35f (diff) | |
Merge pull request #2369 from Max-Might/master
Haiku: platform support
Diffstat (limited to 'drivers/unix/packet_peer_udp_posix.cpp')
| -rw-r--r-- | drivers/unix/packet_peer_udp_posix.cpp | 6 |
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 |