summaryrefslogtreecommitdiff
path: root/lang/ghc/patches/patch-ak
blob: 5d9edbc2b6883cb34917d87ab9a2735739f836c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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.