openbsd-ports/comms/malsync/patches/patch-mal_common_AGNet_h
pvalchev e19d0f9342 Update to malsync-2.1.1 which works w/ new pilot-link
From Antoine Jacoutot, maintainer timeout
(commit partly botched by cvs stupidity)
2004-12-29 04:57:15 +00:00

21 lines
793 B
Plaintext

$OpenBSD: patch-mal_common_AGNet_h,v 1.2 2004/12/29 04:57:15 pvalchev Exp $
--- mal/common/AGNet.h.orig Fri Jan 5 09:50:07 2001
+++ mal/common/AGNet.h Tue Dec 28 21:48:23 2004
@@ -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(__OpenBSD__) || defined(_HPUX_SOURCE)
# include <sys/ioctl.h>
# include <arpa/inet.h>
# else