This commit is contained in:
Josh Coalson
2009-01-02 01:12:59 +00:00
parent f3a8e5caf6
commit a832ef32fb
8 changed files with 27 additions and 19 deletions

View File

@@ -36,13 +36,16 @@
#include <stdlib.h> /* for malloc() */
#include <string.h> /* for memcpy(), memset() */
#ifdef _MSC_VER
#include <winsock.h> /* for ntohl() */
# include <winsock.h> /* for ntohl() */
# if _MSC_VER >= 1310
# include <winsock2.h> /* for ntohl(), sometimes it is not in winsock.h */
# endif
#elif defined FLAC__SYS_DARWIN
#include <machine/endian.h> /* for ntohl() */
# include <machine/endian.h> /* for ntohl() */
#elif defined __MINGW32__
#include <winsock.h> /* for ntohl() */
# include <winsock.h> /* for ntohl() */
#else
#include <netinet/in.h> /* for ntohl() */
# include <netinet/in.h> /* for ntohl() */
#endif
#include "private/bitmath.h"
#include "private/bitreader.h"