mirror of https://github.com/xiph/flac
Clean up #includes
Patch-from: lvqcl <lvqcl.mail@gmail.com>
This commit is contained in:
parent
e0b406f664
commit
6c03ab204a
|
@ -45,7 +45,9 @@ static inline unsigned short __builtin_bswap16(unsigned short a)
|
|||
#define ENDSWAP_32(x) (__builtin_bswap32 (x))
|
||||
#define ENDSWAP_64(x) (__builtin_bswap64 (x))
|
||||
|
||||
#elif defined _MSC_VER /* Windows. Apparently in <stdlib.h>. */
|
||||
#elif defined _MSC_VER /* Windows */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#define ENDSWAP_16(x) (_byteswap_ushort (x))
|
||||
#define ENDSWAP_32(x) (_byteswap_ulong (x))
|
||||
|
|
|
@ -39,6 +39,10 @@
|
|||
#include <stdlib.h> /* for malloc() */
|
||||
#include <string.h> /* for memcpy() */
|
||||
#include <sys/types.h> /* for off_t */
|
||||
#ifdef _WIN32
|
||||
#include <windows.h> /* for GetFileType() */
|
||||
#include <io.h> /* for _get_osfhandle() */
|
||||
#endif
|
||||
#include "share/compat.h"
|
||||
#include "FLAC/assert.h"
|
||||
#include "FLAC/stream_decoder.h"
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "options.h"
|
||||
#include <locale.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "share/compat.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
|
Loading…
Reference in New Issue