]> wimlib.net Git - wimlib/blobdiff - src/xpress-compress.c
xpress-compress.c, lzx-compress.c: Add missing error.h include
[wimlib] / src / xpress-compress.c
index 6b28cca1741989db6c711b4b7916ccfde43b40d2..1975fb28a4556afaa9a4897af48dc71dc2da9169 100644 (file)
@@ -32,6 +32,7 @@
 #include "wimlib.h"
 #include "wimlib/assert.h"
 #include "wimlib/compress.h"
 #include "wimlib.h"
 #include "wimlib/assert.h"
 #include "wimlib/compress.h"
+#include "wimlib/error.h"
 #include "wimlib/util.h"
 #include "wimlib/xpress.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);
 
 
        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];
        /* Verify that we really get the same thing back when decompressing. */
        {
                u8 buf[uncompressed_len];