d0c053e3e9
include headers which are unavailable on Linux. Modify the patches so that those headers are included only when they are found by configure.
22 lines
533 B
Text
22 lines
533 B
Text
$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>
|