summaryrefslogtreecommitdiff
path: root/sysutils/fam/patches/patch-ar
blob: 42b17dea3ed6ad853811a1660f6d6f6e07bda8a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ar,v 1.5 2004/12/09 18:45:32 minskim Exp $

--- src/NetConnection.c++.orig	2003-01-18 08:18:12.000000000 -0600
+++ src/NetConnection.c++
@@ -21,6 +21,7 @@
 //  Temple Place - Suite 330, Boston MA 02111-1307, USA.
 
 #include "NetConnection.h"
+#include "config.h"
 
 #include <assert.h>
 #include <errno.h>
@@ -29,6 +30,9 @@
 #include <stdio.h>
 #include <string.h>
 #include <sys/ioctl.h>
+#ifdef HAVE_SYS_FILIO_H
+#include <sys/filio.h>
+#endif
 #include <sys/socket.h>
 #include <unistd.h>
 #include <netinet/in.h>