summaryrefslogtreecommitdiff
path: root/sbin/newfs_ext2fs/mke2fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/newfs_ext2fs/mke2fs.c')
-rw-r--r--sbin/newfs_ext2fs/mke2fs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/newfs_ext2fs/mke2fs.c b/sbin/newfs_ext2fs/mke2fs.c
index e47ffe42adb..fb49bed59af 100644
--- a/sbin/newfs_ext2fs/mke2fs.c
+++ b/sbin/newfs_ext2fs/mke2fs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mke2fs.c,v 1.12 2014/09/27 06:28:45 doug Exp $ */
+/* $OpenBSD: mke2fs.c,v 1.13 2015/01/16 06:40:00 deraadt Exp $ */
/* $NetBSD: mke2fs.c,v 1.13 2009/10/19 18:41:08 bouyer Exp $ */
/*-
@@ -97,7 +97,8 @@
* in the Linux kernel distribution
*/
-#include <sys/param.h>
+#include <sys/param.h> /* MAXBSIZE powerof2 roundup setbit isset MIN */
+#include <sys/types.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <ufs/ext2fs/ext2fs_dinode.h>