mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Large patch from Ben Allison fixing the MSVC build.
Patch tweaked a little to fix Linux build and clean up minor problems.
This commit is contained in:
@@ -24,8 +24,14 @@
|
||||
#include <stdlib.h> /* for malloc() */
|
||||
#include <string.h> /* for memcpy()/memset() */
|
||||
#include <sys/types.h> /* some flavors of BSD (like OS X) require this to get time_t */
|
||||
#ifdef _MSC_VER
|
||||
#include <sys/utime.h>
|
||||
#else
|
||||
#include <utime.h> /* for utime() */
|
||||
#endif
|
||||
#if !defined _MSC_VER && !defined __MINGW32__ && !defined __EMX__
|
||||
#include <unistd.h> /* for chown(), unlink() */
|
||||
#endif
|
||||
#include <sys/stat.h> /* for stat(), maybe chmod() */
|
||||
#include "FLAC/assert.h"
|
||||
#include "FLAC++/decoder.h"
|
||||
|
||||
Reference in New Issue
Block a user