summaryrefslogtreecommitdiff
path: root/comms/jpilot-syncmal/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'comms/jpilot-syncmal/patches/patch-aa')
-rw-r--r--comms/jpilot-syncmal/patches/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/comms/jpilot-syncmal/patches/patch-aa b/comms/jpilot-syncmal/patches/patch-aa
new file mode 100644
index 00000000000..29b1505e71e
--- /dev/null
+++ b/comms/jpilot-syncmal/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2001/03/02 00:04:27 jlam Exp $
+
+--- ../malsync/mal/common/AGNet.h.orig Sun May 14 23:17:36 2000
++++ ../malsync/mal/common/AGNet.h Thu Jun 15 14:20:07 2000
+@@ -54,6 +54,7 @@
+ # else /* defined(macintosh) */
+ # include <netdb.h>
+ # include <sys/types.h>
++# include <sys/param.h>
+ # include <sys/socket.h>
+ # include <unistd.h>
+ # include <netinet/in.h>
+@@ -61,7 +62,7 @@
+ # include <sys/filio.h>
+ # include <arpa/inet.h>
+ # else
+-# ifdef __FreeBSD__
++# if (defined(BSD) && BSD >= 199306)
+ # include <sys/ioctl.h>
+ # include <arpa/inet.h>
+ # else