]> git.puffer.fish Git - mirror/frr.git/commit
[lib/zebra.h] fix Linux compile error
authorpaul <paul>
Thu, 24 Nov 2005 12:51:24 +0000 (12:51 +0000)
committerpaul <paul>
Thu, 24 Nov 2005 12:51:24 +0000 (12:51 +0000)
commitb6026073584b855d47a8e2033d2aa3413a3394e9
treeacc8812673bc85302da33007549e7828e2a23877
parent6e0f1b940dc281863ef9d9f3bd57676927b8603f
[lib/zebra.h] fix Linux compile error

2005-11-24 Paul Jakma <paul.jakma@sun.com>

* 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
lib/zebra.h