mirror of https://github.com/xiph/flac
Darwin fix for ntohl()
This commit is contained in:
parent
e88147e3c6
commit
f67f2065b3
|
@ -37,6 +37,8 @@
|
|||
#include <string.h> /* for memcpy(), memset() */
|
||||
#if defined(_MSC_VER) && _MSC_VER <= 1200
|
||||
#include <winsock.h> /* for ntohl() */
|
||||
#elif defined FLAC__SYS_DARWIN
|
||||
#include <machine/endian.h> /* for ntohl() */
|
||||
#else
|
||||
#include <netinet/in.h> /* for ntohl() */
|
||||
#endif
|
||||
|
|
|
@ -37,6 +37,8 @@
|
|||
#include <string.h> /* for memcpy(), memset() */
|
||||
#if defined(_MSC_VER) && _MSC_VER <= 1200
|
||||
#include <winsock.h> /* for ntohl() */
|
||||
#elif defined FLAC__SYS_DARWIN
|
||||
#include <machine/endian.h> /* for ntohl() */
|
||||
#else
|
||||
#include <netinet/in.h> /* for ntohl() */
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue