$OpenBSD: patch-e2fsck_journal_c,v 1.1.1.1 2004/02/20 19:54:58 espie Exp $
--- e2fsck/journal.c.orig	2002-03-08 07:05:02.000000000 +0100
+++ e2fsck/journal.c	2003-11-16 17:07:37.000000000 +0100
@@ -13,6 +13,8 @@
  */
 
 #ifdef HAVE_SYS_MOUNT_H
+#include <sys/param.h>
+#include <sys/types.h>
 #include <sys/mount.h>
 #define MNT_FL (MS_MGC_VAL | MS_RDONLY)
 #endif
