#ifndef lint
static const char rcsid[] =
- "$Id: itime.c,v 1.17 2001/03/20 09:14:58 stelian Exp $";
+ "$Id: itime.c,v 1.20 2001/07/18 09:12:05 stelian Exp $";
#endif /* not lint */
#include <config.h>
#include <sys/param.h>
#include <sys/time.h>
+#include <time.h>
#ifdef __linux__
+#ifdef HAVE_EXT2FS_EXT2_FS_H
+#include <ext2fs/ext2_fs.h>
+#else
#include <linux/ext2_fs.h>
+#endif
#include <ext2fs/ext2fs.h>
-#include <time.h>
#include <bsdcompat.h>
#include <sys/file.h>
#include <unistd.h>
if (ftruncate(fd, ftell(df)))
quit("ftruncate (%s): %s\n", dumpdates, strerror(errno));
(void) fclose(df);
- msg("level %c dump on %s", level,
- spcl.c_date == 0 ? "the epoch\n" : ctime4(&spcl.c_date));
}
static void