summaryrefslogtreecommitdiff
path: root/www/cherokee-devel/files/patch-cherokee-util.h
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-08-30 01:33:56 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-08-30 01:33:56 +0000
commit2cccf59476d3a0dd59cd0efcbc4af420f0d01918 (patch)
tree4beef1cf05b3df3e69934581fa4f981c5181d6e2 /www/cherokee-devel/files/patch-cherokee-util.h
parentFix building with the HIER option. It needs bison. [1] (diff)
- Update to 0.4.25
PR: ports/85390 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=141379
Diffstat (limited to 'www/cherokee-devel/files/patch-cherokee-util.h')
-rw-r--r--www/cherokee-devel/files/patch-cherokee-util.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/www/cherokee-devel/files/patch-cherokee-util.h b/www/cherokee-devel/files/patch-cherokee-util.h
new file mode 100644
index 000000000000..2d395ea092ed
--- /dev/null
+++ b/www/cherokee-devel/files/patch-cherokee-util.h
@@ -0,0 +1,23 @@
+--- cherokee/util.h.orig Mon Aug 1 21:47:22 2005
++++ cherokee/util.h Thu Aug 4 21:05:15 2005
+@@ -33,7 +33,19 @@
+ #include <cherokee/buffer.h>
+ #include <time.h>
+ #include <dirent.h>
+-#include <netinet/in.h>
++#include <sys/types.h>
++
++#ifdef HAVE_SYS_SOCKET_H
++# include <sys/socket.h>
++#endif
++
++#ifdef HAVE_ARPA_INET_H
++# include <arpa/inet.h>
++#endif
++
++#ifdef HAVE_NETINET_IN_H
++# include <netinet/in.h>
++#endif
+
+
+ CHEROKEE_BEGIN_DECLS