aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/check/crc32_init.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-01-08 00:48:30 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-01-08 00:48:30 +0200
commite2417b2b9134f3f65e14b61e23cd3644d8954353 (patch)
tree18ac44c6136dbb59a6b76058592d4d5528ec2951 /src/liblzma/check/crc32_init.c
parentUpdated fi.po although it's currently pretty much crap. (diff)
downloadxz-e2417b2b9134f3f65e14b61e23cd3644d8954353.tar.xz
More pre-C99 inttypes.h compatibility fixes. Now the code
should work even if the system has no inttypes.h.
Diffstat (limited to '')
-rw-r--r--src/liblzma/check/crc32_init.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/liblzma/check/crc32_init.c b/src/liblzma/check/crc32_init.c
index eee90400..996ad266 100644
--- a/src/liblzma/check/crc32_init.c
+++ b/src/liblzma/check/crc32_init.c
@@ -13,12 +13,9 @@
///////////////////////////////////////////////////////////////////////////////
#ifdef HAVE_CONFIG_H
-# include <config.h>
+# include "sysdefs.h"
#endif
-#include <sys/types.h>
-#include <inttypes.h>
-
#ifdef WORDS_BIGENDIAN
# include "check_byteswap.h"
#endif