src/libFLAC/memory.c : Wrap inclusion of <stdint.h> in #ifdef.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sun, 11 May 2014 10:06:45 +0000 (03:06 -0700)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sun, 11 May 2014 10:06:49 +0000 (03:06 -0700)
Lack of the #ifdef was causing problems on VS2008.

src/libFLAC/memory.c

index e01e5bc..aa05837 100644 (file)
@@ -34,7 +34,9 @@
 #  include <config.h>
 #endif
 
+#ifdef HAVE_STDINT_H
 #include <stdint.h>
+#endif
 
 #include "private/memory.h"
 #include "FLAC/assert.h"