aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--e2fsprogs/e2fsbb.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/e2fsprogs/e2fsbb.h b/e2fsprogs/e2fsbb.h
index ea44f7a1e..f728125ad 100644
--- a/e2fsprogs/e2fsbb.h
+++ b/e2fsprogs/e2fsbb.h
@@ -25,7 +25,6 @@
typedef long errcode_t;
#define ERRCODE_RANGE 8
#define error_message(code) strerror((int) (code & ((1<<ERRCODE_RANGE)-1)))
-#define initialize_ext2_error_table(x)
/* NLS crap */
#define _(x) x
@@ -37,4 +36,25 @@ typedef long errcode_t;
#define usage() bb_show_usage()
#define perror(msg) bb_perror_msg(msg)
+/* header defines */
+#define HAVE_ERRNO_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_EXT2_IOCTLS 1
+#define HAVE_STDLIB_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_SYS_IOCTL_H 1
+#define HAVE_SYS_QUEUE_H 1
+#define HAVE_SYS_SOCKET_H 1
+#define HAVE_NETINET_IN_H 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_NET_IF_H 1
+#define HAVE_GETOPT_H 1
+#define HAVE_SYS_RESOURCE_H 1
+#define HAVE_SYS_MOUNT_H 1
+#define HAVE_SYS_TIME_H 1
+#define HAVE_LINUX_FD_H 1
+#define HAVE_MNTENT_H 1
+
#endif /* __E2FSBB_H__ */