A better fix for osx

This commit is contained in:
John Jones 2017-07-17 15:24:37 -05:00
parent e2d63e029c
commit ffd27eb062

View file

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