summaryrefslogtreecommitdiff
path: root/sysutils/fam/patches/patch-as
blob: 64fe10e89c3b58e18bdb61711632aa2e216b4792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-as,v 1.6 2007/01/09 10:21:51 joerg Exp $

--- src/RPC_TCP_Connector.c++.orig	2003-01-18 14:18:12.000000000 +0000
+++ src/RPC_TCP_Connector.c++
@@ -21,11 +21,19 @@
 //  Temple Place - Suite 330, Boston MA 02111-1307, USA.
 
 #include "RPC_TCP_Connector.h"
+#include "config.h"
+
+#define PORTMAP
 
 #include <errno.h>
+extern "C" {
 #include <rpc/rpc.h>
 #include <rpc/pmap_prot.h>
+}
 #include <sys/ioctl.h>
+#ifdef HAVE_SYS_FILIO_H
+#include <sys/filio.h>
+#endif
 #include <sys/socket.h>
 #include <unistd.h>
 #include <string.h>