aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-27 04:21:48 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-27 04:21:48 +0000
commit16ce8aa4123388c4a6237301e656c8f4e24a7e52 (patch)
tree4e20d01ca7159d73a552237ebb5a0b8144457aec /e2fsprogs
parentf87b3e30a7e26aec499912accd2598e2e5aa24d6 (diff)
downloadbusybox-16ce8aa4123388c4a6237301e656c8f4e24a7e52.tar.gz
fix building w/out et headers and w/out debug
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/e2fsck.c2
-rw-r--r--e2fsprogs/e2fsck/badblocks.c1
-rw-r--r--e2fsprogs/e2fsck/dict.c4
-rw-r--r--e2fsprogs/e2fsck/swapfs.c1
4 files changed, 3 insertions, 5 deletions
diff --git a/e2fsprogs/e2fsck.c b/e2fsprogs/e2fsck.c
index f1adc8549..db93ea0ce 100644
--- a/e2fsprogs/e2fsck.c
+++ b/e2fsprogs/e2fsck.c
@@ -45,10 +45,8 @@ extern int optind;
#endif
#include "e2fsbb.h"
-#include "et/com_err.h"
#include "e2fsck/e2fsck.h"
#include "e2fsck/problem.h"
-//#include "../version.h"
/* Command line options */
static int swapfs;
diff --git a/e2fsprogs/e2fsck/badblocks.c b/e2fsprogs/e2fsck/badblocks.c
index 09ef3ab1b..1ab76a091 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 48a1e74f7..b0809a76d 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 8d464043a..a737b9624 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