Commit d5bb4be5 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

Patch from David Yeo to conditionally include <inttypes.h>.

parent 08832d11
......@@ -28,6 +28,9 @@
# include <config.h>
#endif
#if HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include "FLAC/stream_decoder.h"
......
......@@ -28,6 +28,9 @@
# include <config.h>
#endif
#if HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
......@@ -27,6 +27,9 @@
#include "FLAC/metadata.h"
#include "share/alloc.h"
#include "share/grabbag.h"
#if HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
......@@ -21,6 +21,9 @@
#endif
#include <errno.h>
#if HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#include <stdio.h> /* for snprintf() */
#include <string.h>
#include "options.h"
......
......@@ -24,6 +24,9 @@
#include "utils.h"
#include "FLAC/assert.h"
#include "FLAC/metadata.h"
#if HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#include <string.h>
#include "operations_shorthand.h"
......
......@@ -22,6 +22,9 @@
#include "share/grabbag.h"
#include "FLAC/assert.h"
#if HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
......@@ -21,6 +21,9 @@
#endif
#include <errno.h>
#if HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
......@@ -24,6 +24,9 @@
#include "FLAC/metadata.h"
#include "test_libs_common/metadata_utils.h"
#include "metadata.h"
#if HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#include <stdio.h>
#include <stdlib.h> /* for malloc() */
#include <string.h> /* for memcmp() */
......
......@@ -26,6 +26,9 @@
#include "FLAC/metadata.h"
#include "test_libs_common/metadata_utils.h"
#if HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#include <stdio.h>
#include <stdlib.h> /* for malloc() */
#include <string.h> /* for memcmp() */
......
......@@ -20,6 +20,9 @@
# include <config.h>
#endif
#if HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment