A better fix for osx

yamux
John Jones 2017-07-17 15:24:37 -05:00
parent e2d63e029c
commit ffd27eb062
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
#include <stdint.h>
#include <errno.h>
#include <arpa/inet.h>
#if defined(OS_MACOSX)
#if defined(__APPLE__) || defined(__MACH__)
#include <machine/endian.h>
#else
#include <endian.h>