mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Darwin fix for ntohl()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user