fix building w/out et headers and w/out debug

This commit is contained in:
Mike Frysinger 2005-09-27 04:21:48 +00:00
parent f87b3e30a7
commit 16ce8aa412
4 changed files with 3 additions and 5 deletions

View File

@ -45,10 +45,8 @@ extern int optind;
#endif #endif
#include "e2fsbb.h" #include "e2fsbb.h"
#include "et/com_err.h"
#include "e2fsck/e2fsck.h" #include "e2fsck/e2fsck.h"
#include "e2fsck/problem.h" #include "e2fsck/problem.h"
//#include "../version.h"
/* Command line options */ /* Command line options */
static int swapfs; static int swapfs;

View File

@ -10,7 +10,6 @@
#include <errno.h> #include <errno.h>
#endif #endif
#include <et/com_err.h>
#include "e2fsck.h" #include "e2fsck.h"
static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt, static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt,

View File

@ -30,7 +30,9 @@
#define DICT_IMPLEMENTATION #define DICT_IMPLEMENTATION
#include "dict.h" #include "dict.h"
#define NDEBUG #ifndef NDEBUG
# define NDEBUG
#endif
/* /*
* These macros provide short convenient names for structure members, * These macros provide short convenient names for structure members,

View File

@ -13,7 +13,6 @@
#ifdef HAVE_ERRNO_H #ifdef HAVE_ERRNO_H
#include <errno.h> #include <errno.h>
#endif #endif
#include <et/com_err.h>
#include "e2fsck.h" #include "e2fsck.h"
#ifdef ENABLE_SWAPFS #ifdef ENABLE_SWAPFS