$OpenBSD: patch-config_h_in,v 1.2 2009/05/21 21:53:27 benoit Exp $
--- config.h.in.orig	2003-11-28 10:14:07.000000000 -0500
+++ config.h.in	2003-12-04 10:18:39.000000000 -0500
@@ -1,5 +1,13 @@
 /* config.h.in.  Generated from configure.in by autoheader.  */
 
+#ifndef _OPENBSD_BLKCNT_
+#define _OPENBSD_BLKCNT_
+#ifdef __OpenBSD__
+#include <sys/types.h>
+typedef int32_t blkcnt_t;
+#endif
+#endif
+
 /* Compile-time options displayed in -v output */
 #undef AIDECOMPILEOPTIONS
 
