summaryrefslogtreecommitdiff
path: root/lib/common
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-04-01 14:30:51 +0000
committerDavid Oberhollenzer <goliath@infraroot.at>2020-04-01 18:28:54 +0200
commitb3f2636f44eea1a8b6fbf892d2daa611cff9d4af (patch)
tree0bff40a63197f3cfe7c48b4ff2e7e9b10c27d645 /lib/common
parent1f3eb1169d3757a3d0dd1d2eca382564d3ececf8 (diff)
Fix missing header without LZO
lib/common/compress.c: In function 'compressor_get_default': lib/common/compress.c:39:2: warning: implicit declaration of function 'assert' [-Wimplicit-function-declaration] 39 | assert(0); | ^~~~~~ lib/common/compress.c:8:1: note: 'assert' is defined in header '<assert.h>'; did you forget to '#include <assert.h>'? 7 | #include "common.h" +++ |+#include <assert.h> 8 |
Diffstat (limited to 'lib/common')
-rw-r--r--lib/common/compress.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/common/compress.c b/lib/common/compress.c
index ea7b71f..f16f080 100644
--- a/lib/common/compress.c
+++ b/lib/common/compress.c
@@ -5,6 +5,7 @@
* Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
*/
#include "common.h"
+#include <assert.h>
static int cmp_ids[] = {
SQFS_COMP_XZ,