openbsd-ports/comms/malsync/patches/patch-mal_common_AGNet_h
naddy df354b5ec5 - distfile has changed
- respect CC and CFLAGS
- clean-up
ok pvalchev@
2001-10-16 12:34:22 +00:00

23 lines
919 B
Plaintext

$OpenBSD: patch-mal_common_AGNet_h,v 1.1 2001/10/16 12:34:23 naddy Exp $
--- mal/common/AGNet.h.orig Fri Jan 5 17:50:07 2001
+++ mal/common/AGNet.h Mon Oct 15 17:01:05 2001
@@ -53,6 +53,9 @@
# endif /* if (!defined(__palmos__)) */
# else /* defined(macintosh) */
# include <netdb.h>
+# if (defined(__unix__) || defined(unix)) && !defined(USG)
+# include <sys/param.h>
+# endif
# include <sys/types.h>
# include <sys/socket.h>
# include <unistd.h>
@@ -61,7 +64,7 @@
# include <sys/filio.h>
# include <arpa/inet.h>
# else
-# if defined(__FreeBSD__) || defined(_HPUX_SOURCE)
+# if defined(__FreeBSD__) || defined(_HPUX_SOURCE) || defined (OpenBSD)
# include <sys/ioctl.h>
# include <arpa/inet.h>
# else