mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
Add Haiku OS support (#1970)
This commit is contained in:
parent
fb420bb563
commit
0cf656cd76
6 changed files with 37 additions and 1 deletions
|
@ -27,6 +27,17 @@
|
|||
# include <AvailabilityMacros.h>
|
||||
#endif
|
||||
|
||||
#if defined(__HAIKU__)
|
||||
#include <gnu/pthread.h>
|
||||
#include <posix/pthread.h>
|
||||
#include <posix/sys/sockio.h>
|
||||
#include <posix/sys/ioctl.h>
|
||||
#ifndef _DEFAULT_SOURCE
|
||||
#define _DEFAULT_SOURCE
|
||||
#include <bsd/ifaddrs.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue