summaryrefslogtreecommitdiff
path: root/sysutils/fam/patches/patch-am
blob: 494dcba691a13b09f71a5cd8eba8aa93ad04d13b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-am,v 1.6 2005/03/01 23:06:55 dmcmahill Exp $

--- lib/fam.c++.orig	2003-01-18 08:18:12.000000000 -0600
+++ lib/fam.c++
@@ -20,8 +20,12 @@
 //  with this program; if not, write the Free Software Foundation, Inc., 59
 //  Temple Place - Suite 330, Boston MA 02111-1307, USA.
 
+#include "config.h"
 #include <sys/types.h>
 #include <rpc/rpc.h>
+#ifdef HAVE_RPC_RPCENT_H
+#include <rpc/rpcent.h>
+#endif
 #include <sys/time.h>
 #include <unistd.h>
 #include <stdlib.h>