]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Avoid build failure on Visual Studio 10 W64.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Mon, 21 Dec 2009 08:51:19 +0000 (03:51 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Mon, 21 Dec 2009 08:51:19 +0000 (03:51 -0500)
SVN-Revision: 1771

libarchive/archive_windows.h

index 724f3a0af2a706dd3d5e13b9d4a16a00a4a26b3d..62fccf42dc5174e3483d88a99d1c38b127d518f3 100644 (file)
@@ -54,6 +54,9 @@
 #define        set_errno(val)  ((errno)=val)
 #include <io.h>
 #include <stdlib.h>   //brings in NULL
+#if defined(HAVE_STDINT_H)
+#include <stdint.h>
+#endif
 #include <stdio.h>
 #include <fcntl.h>
 #include <sys/stat.h>