diff options
Diffstat (limited to 'pkgtools/libnbcompat/files/db/hash/hash.c')
-rw-r--r-- | pkgtools/libnbcompat/files/db/hash/hash.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgtools/libnbcompat/files/db/hash/hash.c b/pkgtools/libnbcompat/files/db/hash/hash.c index d2d0872ff2f..50c149927d5 100644 --- a/pkgtools/libnbcompat/files/db/hash/hash.c +++ b/pkgtools/libnbcompat/files/db/hash/hash.c @@ -1,4 +1,4 @@ -/* $NetBSD: hash.c,v 1.2 2008/10/30 19:27:20 joerg Exp $ */ +/* $NetBSD: hash.c,v 1.3 2010/04/20 00:32:23 joerg Exp $ */ /* NetBSD: hash.c,v 1.30 2008/09/11 12:58:00 joerg Exp */ /*- @@ -36,7 +36,7 @@ #include <nbcompat.h> #include <nbcompat/cdefs.h> -__RCSID("$NetBSD: hash.c,v 1.2 2008/10/30 19:27:20 joerg Exp $"); +__RCSID("$NetBSD: hash.c,v 1.3 2010/04/20 00:32:23 joerg Exp $"); #include <nbcompat/param.h> #include <sys/stat.h> @@ -54,6 +54,10 @@ __RCSID("$NetBSD: hash.c,v 1.2 2008/10/30 19:27:20 joerg Exp $"); #include "page.h" #include "extern.h" +#ifdef BROKEN_PWRITE +#include "../pwrite.c" +#endif + #define __UNCONST(a) ((void *)(size_t)(const void *)(a)) static int alloc_segs(HTAB *, int); |