openbsd-ports/sysutils/e2fsprogs/patches/patch-lib_ext2fs_flushb_c

12 lines
366 B
Plaintext

$OpenBSD: patch-lib_ext2fs_flushb_c,v 1.1.1.1 2004/02/20 19:54:58 espie Exp $
--- lib/ext2fs/flushb.c.orig 2002-02-24 22:03:59.000000000 +0100
+++ lib/ext2fs/flushb.c 2003-11-16 17:07:37.000000000 +0100
@@ -21,6 +21,7 @@
#include <sys/ioctl.h>
#endif
#if HAVE_SYS_MOUNT_H
+#include <sys/param.h>
#include <sys/mount.h> /* This may define BLKFLSBUF */
#endif