summaryrefslogtreecommitdiff
path: root/net/openbgpd/files/patch-bgpd_util.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2009-06-30 07:35:13 +0000
committerHiroki Sato <hrs@FreeBSD.org>2009-06-30 07:35:13 +0000
commit7f31ff4f937cb0e17224ee7d8e11dd7d2a690462 (patch)
tree669ea07e99a7f19513f560292a84a25a34c55626 /net/openbgpd/files/patch-bgpd_util.c
parent- FIx client-hook to be workable (diff)
Simplify Makefile. No change of the resultant package.
Diffstat (limited to 'net/openbgpd/files/patch-bgpd_util.c')
-rw-r--r--net/openbgpd/files/patch-bgpd_util.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/net/openbgpd/files/patch-bgpd_util.c b/net/openbgpd/files/patch-bgpd_util.c
index cc25aeab5c70..defdb995ee60 100644
--- a/net/openbgpd/files/patch-bgpd_util.c
+++ b/net/openbgpd/files/patch-bgpd_util.c
@@ -1,10 +1,18 @@
---- bgpd/util.c 2008-03-18 15:24:06.000000000 +0100
-+++ bgpd/util.c 2008-03-18 13:27:29.000000000 +0100
-@@ -18,6 +18,7 @@
+Index: bgpd/util.c
+===================================================================
+RCS file: /home/cvs/private/hrs/openbgpd/bgpd/util.c,v
+retrieving revision 1.1.1.1
+retrieving revision 1.2
+diff -u -p -r1.1.1.1 -r1.2
+--- bgpd/util.c 30 Jun 2009 05:46:15 -0000 1.1.1.1
++++ bgpd/util.c 30 Jun 2009 06:40:07 -0000 1.2
+@@ -18,6 +18,9 @@
*/
#include <sys/types.h>
#include <sys/socket.h>
++#if defined(__FreeBSD__) /* sys/limits.h */
+#include <sys/limits.h>
++#endif /* defined(__FreeBSD__) */
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>