Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
flac
Commits
d5bb4be5
Commit
d5bb4be5
authored
Feb 04, 2012
by
Erik de Castro Lopo
Browse files
Patch from David Yeo to conditionally include <inttypes.h>.
parent
08832d11
Changes
10
Hide whitespace changes
Inline
Side-by-side
examples/c/decode/file/main.c
View file @
d5bb4be5
...
...
@@ -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"
...
...
examples/c/encode/file/main.c
View file @
d5bb4be5
...
...
@@ -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>
...
...
src/metaflac/operations.c
View file @
d5bb4be5
...
...
@@ -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>
...
...
src/metaflac/operations_shorthand_cuesheet.c
View file @
d5bb4be5
...
...
@@ -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"
...
...
src/metaflac/operations_shorthand_streaminfo.c
View file @
d5bb4be5
...
...
@@ -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"
...
...
src/share/grabbag/cuesheet.c
View file @
d5bb4be5
...
...
@@ -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>
...
...
src/test_libFLAC/encoders.c
View file @
d5bb4be5
...
...
@@ -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>
...
...
src/test_libFLAC/metadata_object.c
View file @
d5bb4be5
...
...
@@ -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() */
...
...
src/test_libs_common/metadata_utils.c
View file @
d5bb4be5
...
...
@@ -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() */
...
...
src/test_seeking/main.c
View file @
d5bb4be5
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment