diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2013-07-30 15:36:26 +0200 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2013-07-30 18:14:13 +0200 |
commit | c423d413e464913ee88c1ee700e2c4037e6bdb24 (patch) | |
tree | 9cd9cf277703b89736a888a2bbb5455220789046 /tests/bgpd.tests/testbgpmpath.exp | |
parent | c51443f4aa6b7f0b0d6ad5409ad7d4b215092443 (diff) |
lib: unconditionally include stddef.h
I've used offsetof() in the previous commit to paper over the security
problems in ospf_api.c. This blows the build on FreeBSD 7.0, missing
offsetof(). Let's add that to zebra's generally used includes.
stddef.h (and offsetof) is defined in C89 section 4.1.5 (and not
deprecated/removed by any later standard). If this causes problems, the
bug report should go against the host OS/compiler...
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/bgpd.tests/testbgpmpath.exp')
0 files changed, 0 insertions, 0 deletions