Merge pull request #4951 from waddlesplash/haiku-2

Initial support for Haiku.
This commit is contained in:
Matthew Parlane authored and GitHub committed 2017-03-28 17:19:35 +13:00
commit 85d74a506f
17 files changed
+236 -15

No files matched your search

+4 -1
View File
@@ -21,7 +21,10 @@
#if !defined(_WIN32)
#include <sys/socket.h>
#include <sys/types.h>
#ifndef ANDROID
#ifdef __HAIKU__
#define _BSD_SOURCE
#include <bsd/ifaddrs.h>
#elif !defined ANDROID
#include <ifaddrs.h>
#endif
#include <arpa/inet.h>