ChangeLog, e2fsck.h, super.c:
  super.c: Remove excess #includes which are not necessary.
  e2fsck.h: Add #ifdef's for HAVE_SYS_TYPES_H and HAVE_SYS_TIME_H

diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog
index efa67c3..d8de07f 100644
--- a/e2fsck/ChangeLog
+++ b/e2fsck/ChangeLog
@@ -1,3 +1,9 @@
+Sun Oct 19 21:12:11 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+	* super.c: Remove excess #includes which are not necessary.
+
+	* e2fsck.h: Add #ifdef's for HAVE_SYS_TYPES_H and HAVE_SYS_TIME_H
+
 Fri Oct  3 13:40:03 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
 	* pass*.c, super.c: Massive changes to avoid using printf and
diff --git a/e2fsck/e2fsck.h b/e2fsck/e2fsck.h
index 27d703a..b185d6b 100644
--- a/e2fsck/e2fsck.h
+++ b/e2fsck/e2fsck.h
@@ -10,8 +10,12 @@
 #include <string.h>
 #include <unistd.h>
 #include <stdlib.h>
+#ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
+#endif
 
 #ifdef HAVE_LINUX_FS_H
 #include <linux/fs.h>
diff --git a/e2fsck/super.c b/e2fsck/super.c
index d6a0c98..40a272c 100644
--- a/e2fsck/super.c
+++ b/e2fsck/super.c
@@ -14,9 +14,6 @@
 #include <stdlib.h>
 #endif
 #include <string.h>
-#include <fcntl.h>
-#include <ctype.h>
-#include <termios.h>
 #include <time.h>
 #ifdef HAVE_GETOPT_H
 #include <getopt.h>
@@ -28,8 +25,6 @@
 #ifdef HAVE_MNTENT_H
 #include <mntent.h>
 #endif
-#include <sys/ioctl.h>
-#include <malloc.h>
 
 #include "uuid/uuid.h"
 #include "e2fsck.h"