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 a0f09a9..49aff10 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 6b28cca..1975fb2 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];