diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/c/decode/file/main.c | 4 | ||||
-rw-r--r-- | examples/c/encode/file/main.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/examples/c/decode/file/main.c b/examples/c/decode/file/main.c index f7efd9a9..33e56336 100644 --- a/examples/c/decode/file/main.c +++ b/examples/c/decode/file/main.c @@ -28,11 +28,9 @@ # include <config.h> #endif -#if HAVE_INTTYPES_H -#include <inttypes.h> -#endif #include <stdio.h> #include <stdlib.h> +#include "share/compat.h" #include "FLAC/stream_decoder.h" static FLAC__StreamDecoderWriteStatus write_callback(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data); diff --git a/examples/c/encode/file/main.c b/examples/c/encode/file/main.c index bce97327..93533160 100644 --- a/examples/c/encode/file/main.c +++ b/examples/c/encode/file/main.c @@ -28,12 +28,10 @@ # include <config.h> #endif -#if HAVE_INTTYPES_H -#include <inttypes.h> -#endif #include <stdio.h> #include <stdlib.h> #include <string.h> +#include "share/compat.h" #include "FLAC/metadata.h" #include "FLAC/stream_encoder.h" |