summaryrefslogtreecommitdiff
path: root/misc/cstream/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cstream/patches/patch-aa')
-rw-r--r--misc/cstream/patches/patch-aa16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/cstream/patches/patch-aa b/misc/cstream/patches/patch-aa
new file mode 100644
index 00000000000..5a6ddcc73c7
--- /dev/null
+++ b/misc/cstream/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2003/09/22 12:30:24 wiz Exp $
+
+--- cstream.c.orig Wed Jul 11 17:13:05 2001
++++ cstream.c
+@@ -93,6 +93,11 @@
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+
++/* Solaris needs this */
++#ifndef INADDR_NONE
++#define INADDR_NONE 0xffffffff
++#endif
++
+ #ifndef NORESOLV
+ #include <netdb.h>
+ #endif