summaryrefslogtreecommitdiff
path: root/misc/e2label.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1997-11-03 19:46:49 +0000
committerTheodore Ts'o <tytso@mit.edu>1997-11-03 19:46:49 +0000
commit80c0fc3492278168448017e79730905aa5b9b62b (patch)
treeda9e69c17ffd625e25eecc6ba91c8bea68f9e93a /misc/e2label.c
parent08b213017f8371ce4b56ad4d368eb0f92211d04e (diff)
downloade2fsprogs-80c0fc3492278168448017e79730905aa5b9b62b.tar.gz
Many files:
resize2fs.c, ext2_block_move.c ext2_inode_move.c: Only include printf statements if RESIZE2FS_DEBUG is defined. main.c: Don't read in the bitmaps since resize2fs.c does that. e2label.c, mke2fs.c: Adjust header files.
Diffstat (limited to 'misc/e2label.c')
-rw-r--r--misc/e2label.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/misc/e2label.c b/misc/e2label.c
index 2b4f1711..928a896f 100644
--- a/misc/e2label.c
+++ b/misc/e2label.c
@@ -5,8 +5,24 @@
*
*/
-#include <fcntl.h>
#include <stdio.h>
+#include <string.h>
+#include <fcntl.h>
+#include <ctype.h>
+#include <termios.h>
+#include <time.h>
+#ifdef HAVE_GETOPT_H
+#include <getopt.h>
+#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+#ifdef HAVE_ERRNO_H
+#include <errno.h>
+#endif
#define EXT2_SUPER_MAGIC 0xEF53