]> wimlib.net Git - wimlib/commitdiff
xpress-compress.c, lzx-compress.c: Add missing error.h include
authorEric Biggers <ebiggers3@gmail.com>
Wed, 15 May 2013 18:12:01 +0000 (13:12 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Wed, 15 May 2013 18:12:01 +0000 (13:12 -0500)
src/lzx-compress.c
src/xpress-compress.c

index a0f09a926b4fd1de40f11449b77a1ce7e05875a9..49aff104f9101da6801776875e47ab68c8b5aec8 100644 (file)
@@ -63,6 +63,7 @@
 
 #include "wimlib.h"
 #include "wimlib/compress.h"
+#include "wimlib/error.h"
 #include "wimlib/lzx.h"
 #include "wimlib/util.h"
 
index 6b28cca1741989db6c711b4b7916ccfde43b40d2..1975fb28a4556afaa9a4897af48dc71dc2da9169 100644 (file)
@@ -32,6 +32,7 @@
 #include "wimlib.h"
 #include "wimlib/assert.h"
 #include "wimlib/compress.h"
+#include "wimlib/error.h"
 #include "wimlib/util.h"
 #include "wimlib/xpress.h"
 
@@ -245,7 +246,7 @@ wimlib_xpress_compress(const void *__uncompressed_data,
 
        wimlib_assert(compressed_len <= uncompressed_len - 1);
 
-#if defined(ENABLE_VERIFY_COMPRESSION)
+#ifdef ENABLE_VERIFY_COMPRESSION
        /* Verify that we really get the same thing back when decompressing. */
        {
                u8 buf[uncompressed_len];