summaryrefslogtreecommitdiff
path: root/e2fsprogs/e2fsck
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/e2fsck')
-rw-r--r--e2fsprogs/e2fsck/badblocks.c1
-rw-r--r--e2fsprogs/e2fsck/dict.c4
-rw-r--r--e2fsprogs/e2fsck/swapfs.c1
3 files changed, 3 insertions, 3 deletions
diff --git a/e2fsprogs/e2fsck/badblocks.c b/e2fsprogs/e2fsck/badblocks.c
index 09ef3ab..1ab76a0 100644
--- a/e2fsprogs/e2fsck/badblocks.c
+++ b/e2fsprogs/e2fsck/badblocks.c
@@ -10,7 +10,6 @@
#include <errno.h>
#endif
-#include <et/com_err.h>
#include "e2fsck.h"
static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt,
diff --git a/e2fsprogs/e2fsck/dict.c b/e2fsprogs/e2fsck/dict.c
index 48a1e74..b0809a7 100644
--- a/e2fsprogs/e2fsck/dict.c
+++ b/e2fsprogs/e2fsck/dict.c
@@ -30,7 +30,9 @@
#define DICT_IMPLEMENTATION
#include "dict.h"
-#define NDEBUG
+#ifndef NDEBUG
+# define NDEBUG
+#endif
/*
* These macros provide short convenient names for structure members,
diff --git a/e2fsprogs/e2fsck/swapfs.c b/e2fsprogs/e2fsck/swapfs.c
index 8d46404..a737b96 100644
--- a/e2fsprogs/e2fsck/swapfs.c
+++ b/e2fsprogs/e2fsck/swapfs.c
@@ -13,7 +13,6 @@
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
-#include <et/com_err.h>
#include "e2fsck.h"
#ifdef ENABLE_SWAPFS