ORIGINAL: http://sourceforge.net/projects/flac/files/flac-src/flac-1.2.1-src/flac-1.2.1.tar.gz/download Name MD5 Bytes ----------------- -------------------------------- --------- flac-1.2.1.tar.gz 153C8B15A54DA428D1F0FADC756C22C7 2,009,217 -------------------------------------------------------------- Total 1 Files 2,009,217 Bytes PATCH: http://theunknown.com.au/flac-main-cpp75-erreur-%E2%80%98memcmp%E2%80%99-was-not-declared-in-this-scope/ http://lists.xiph.org/pipermail/flac-dev/2008-August/002568.html diff -u -r flac-1.2.1-original/examples/cpp/decode/file/main.cpp flac-1.2.1/examples/cpp/decode/file/main.cpp --- flac-1.2.1-original/examples/cpp/decode/file/main.cpp 2011-11-30 19:43:37 +0900 +++ flac-1.2.1/examples/cpp/decode/file/main.cpp 2011-11-30 17:56:27 +0900 @@ -30,6 +30,7 @@ #include #include +#include #include "FLAC++/decoder.h" static FLAC__uint64 total_samples = 0; diff -u -r flac-1.2.1-original/examples/cpp/encode/file/main.cpp flac-1.2.1/examples/cpp/encode/file/main.cpp --- flac-1.2.1-original/examples/cpp/encode/file/main.cpp 2011-11-30 19:43:37 +0900 +++ flac-1.2.1/examples/cpp/encode/file/main.cpp 2011-11-30 17:56:03 +0900 @@ -30,6 +30,7 @@ #include #include +#include #include "FLAC++/metadata.h" #include "FLAC++/encoder.h" diff -u -r flac-1.2.1-original/include/share/alloc.h flac-1.2.1/include/share/alloc.h --- flac-1.2.1-original/include/share/alloc.h 2011-11-30 19:43:37 +0900 +++ flac-1.2.1/include/share/alloc.h 2011-11-30 18:10:39 +0900 @@ -28,7 +28,7 @@ */ #include /* for SIZE_MAX */ -#if !defined _MSC_VER && !defined __MINGW32__ && !defined __EMX__ +#if HAVE_STDINT_H #include /* for SIZE_MAX in case limits.h didn't get it */ #endif #include /* for size_t, malloc(), etc */