]> git.proxmox.com Git - mirror_frr.git/commit
lib: Fix ordering of RB Tree
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 16 Jun 2017 21:40:17 +0000 (17:40 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 16 Jun 2017 21:48:18 +0000 (17:48 -0400)
commit6021c8d38268ca67b58f1f5d29440782ee8826aa
treeda87ddcf33e718e8c9aa8820c20373bc08cd52be
parent522faa1f8be658c18284e3e9e5dcaefdf92c4c57
lib: Fix ordering of RB Tree

So the *bsd implementations of RB Tree's for older
platforms use a macro implementation.  New platforms
have converted to a function implementation that uses
a different calling parameter list.  So when
we attempt to build FRR on older *bsd implementations
the macro's and functions do not interact too well.

As a workaround put the openbsd-tree.h #include
inside of zebra.h at a point before the particular
platforms version is included.  Since we use
the same #if guard for the header we should be ok.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/zebra.h