fix building w/out et headers and w/out debug
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -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; | |
| @@ -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, | |
| @@ -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, | |
| @@ -13,7 +13,6 @@ | |
| #ifdef HAVE_ERRNO_H | |
| #include <errno.h> | |
| #endif | |
| - | #include <et/com_err.h> |
| #include "e2fsck.h" | |
| #ifdef ENABLE_SWAPFS | |