blob: cc0eddc151da150c15b24678bfd7c8baa4da3d2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-ab,v 1.1 2003/01/13 13:21:09 wiz Exp $
--- malsync/mal/common/AGNet.h.orig Fri Jan 5 17:50:07 2001
+++ malsync/mal/common/AGNet.h
@@ -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
-# if defined(__FreeBSD__) || defined(_HPUX_SOURCE)
+# if (defined(BSD) && BSD >= 199306) || defined(_HPUX_SOURCE)
# include <sys/ioctl.h>
# include <arpa/inet.h>
# else
|