fixed endian.h header for osx

This commit is contained in:
John Jones 2017-07-17 15:23:29 -05:00
parent 8bf4e3cf07
commit e2d63e029c

View file

@ -4,7 +4,11 @@
#include <stdint.h>
#include <errno.h>
#include <arpa/inet.h>
#if defined(OS_MACOSX)
#include <machine/endian.h>
#else
#include <endian.h>
#endif
#include <stdarg.h>
#include "libp2p/secio/secio.h"