Initial support for Haiku.

This commit is contained in:
Augustin Cavalier committed 2017-03-27 23:46:19 -04:00
1 parent 7304cb0f8e
commit 0831dad467
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>