summaryrefslogtreecommitdiff
path: root/misc/siag/patches
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-12-28 16:37:59 +0000
committerreed <reed@pkgsrc.org>2005-12-28 16:37:59 +0000
commit8d87e4efd2e473352fba70d86863f3e17cca3a3c (patch)
tree0b92d11eb4f8c099be34bd00be9e6bc9dc9cd31a /misc/siag/patches
parentd8f86d8ba87d7a4825aadffa07c5d23baa93cc0c (diff)
downloadpkgsrc-8d87e4efd2e473352fba70d86863f3e17cca3a3c.tar.gz
Move include of sys/types.h earlier. Fixes build as noticed on DragonFly.
Diffstat (limited to 'misc/siag/patches')
-rw-r--r--misc/siag/patches/patch-aa19
1 files changed, 19 insertions, 0 deletions
diff --git a/misc/siag/patches/patch-aa b/misc/siag/patches/patch-aa
new file mode 100644
index 00000000000..4b4043f2227
--- /dev/null
+++ b/misc/siag/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.8 2005/12/28 16:37:59 reed Exp $
+
+--- stocks/http.c.orig 2005-12-28 08:03:24.000000000 -0800
++++ stocks/http.c 2005-12-28 08:03:36.000000000 -0800
+@@ -20,13 +20,13 @@
+
+ #define __HTTP_C__
+
++#include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <netdb.h>
+ #include <unistd.h>
+
+-#include <sys/types.h>
+ #include <ctype.h>
+ #include <string.h>
+ #include <stdlib.h>