Initial support for Haiku.

This commit is contained in:
Augustin Cavalier
2017-02-22 12:21:10 -05:00
parent 7304cb0f8e
commit 0831dad467
17 changed files with 236 additions and 15 deletions

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>