summaryrefslogtreecommitdiff
path: root/lang/ghc/patches/patch-ap
blob: a2436b6fe181a4f772c194db13e13d0f90e7c72f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ap,v 1.3 2008/03/31 06:18:12 cjs Exp $

--- libraries/network/include/HsNet.h.orig	2007-12-11 03:25:19.000000000 +0900
+++ libraries/network/include/HsNet.h	2008-03-31 12:36:50.000000000 +0900
@@ -139,3 +139,8 @@
 }
 
 #endif
+
+INLINE int __hsnet_socket(int domain, int type, int protocol)
+{
+    return socket(domain, type, protocol);
+}