fixed endian.h header for osx
This commit is contained in:
parent
8bf4e3cf07
commit
e2d63e029c
1 changed files with 4 additions and 0 deletions
|
@ -4,7 +4,11 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
#if defined(OS_MACOSX)
|
||||||
|
#include <machine/endian.h>
|
||||||
|
#else
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
|
#endif
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#include "libp2p/secio/secio.h"
|
#include "libp2p/secio/secio.h"
|
||||||
|
|
Loading…
Reference in a new issue