$NetBSD: patch-ak,v 1.3 2008/03/24 22:40:23 kristerw Exp $ --- libraries/base/include/HsBase.h.orig 2008-03-24 13:33:49.000000000 +0100 +++ libraries/base/include/HsBase.h 2008-03-24 13:38:50.000000000 +0100 @@ -648,6 +648,10 @@ #endif } +INLINE DIR* __hscore_opendir (const char *filename) { + return opendir(filename); +} + // These are wrapped because on some OSs (eg. Linux) they are // macros which redirect to the 64-bit-off_t versions when large file // support is enabled.