From b6026073584b855d47a8e2033d2aa3413a3394e9 Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 24 Nov 2005 12:51:24 +0000 Subject: [lib/zebra.h] fix Linux compile error 2005-11-24 Paul Jakma * zebra.h: s/u_int/unsigned int/, u_int is a BSD type, defining __USE_BSD on Linux pulls in further things from netinet/ip.h which dont preprocess for some reason. There is no C99 shorthand type directly equivalent to u_int afaict, so don't use it. --- lib/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/ChangeLog') diff --git a/lib/ChangeLog b/lib/ChangeLog index 7e485635..e1f4118f 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -3,6 +3,11 @@ * privs.c: (zcaps2sys/solaris) remove unused variable. (zprivs_state_caps/solaris) Format string missing a specifier. + * zebra.h: s/u_int/unsigned int/, u_int is a BSD type, defining + __USE_BSD on Linux pulls in further things from netinet/ip.h + which dont preprocess for some reason. There is no C99 + shorthand type directly equivalent to u_int afaict, so don't + use it. 2005-11-14 Paul Jakma -- cgit v1.2.1