From 7f31ff4f937cb0e17224ee7d8e11dd7d2a690462 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Tue, 30 Jun 2009 07:35:13 +0000 Subject: Simplify Makefile. No change of the resultant package. --- net/openbgpd/files/patch-bgpd_rde_attr.c | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) (limited to 'net/openbgpd/files/patch-bgpd_rde_attr.c') diff --git a/net/openbgpd/files/patch-bgpd_rde_attr.c b/net/openbgpd/files/patch-bgpd_rde_attr.c index cc1b62d1a386..db5f385ca624 100644 --- a/net/openbgpd/files/patch-bgpd_rde_attr.c +++ b/net/openbgpd/files/patch-bgpd_rde_attr.c @@ -1,20 +1,30 @@ ---- bgpd/rde_attr.c 2007-05-22 16:03:31.000000000 +0200 -+++ bgpd/rde_attr.c 2008-03-18 15:30:31.000000000 +0100 -@@ -17,7 +17,6 @@ +Index: bgpd/rde_attr.c +=================================================================== +RCS file: /home/cvs/private/hrs/openbgpd/bgpd/rde_attr.c,v +retrieving revision 1.1.1.1 +retrieving revision 1.2 +diff -u -p -r1.1.1.1 -r1.2 +--- bgpd/rde_attr.c 30 Jun 2009 05:46:15 -0000 1.1.1.1 ++++ bgpd/rde_attr.c 30 Jun 2009 06:40:07 -0000 1.2 +@@ -17,7 +17,11 @@ */ #include --#include ++#if defined(__FreeBSD__) /* sys/hash.h */ ++#include "hash.h" ++#else + #include ++#endif /* defined(__FreeBSD__) */ #include #include -@@ -28,6 +27,9 @@ +@@ -25,6 +29,9 @@ + #include + #include + #include ++#if defined(__FreeBSD__) /* limits.h */ ++#include ++#endif /* defined(__FreeBSD__) */ #include "bgpd.h" #include "rde.h" -+#include "hash.h" -+ -+#include - - int - attr_write(void *p, u_int16_t p_len, u_int8_t flags, u_int8_t type, -- cgit v1.2.3