]> git.puffer.fish Git - mirror/frr.git/commit
*: fix detection and usage of sys/cdefs.h
authorTimo Teräs <timo.teras@iki.fi>
Tue, 29 Jul 2014 09:41:54 +0000 (09:41 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Sun, 17 Aug 2014 23:50:19 +0000 (01:50 +0200)
commit16ffb26fbbf8b3d1fee7a14eb401ecb02eed5058
treef1abb4a88c2677f1e405a855be200056c5c2bc4e
parent28a8cfcbc3a5cc74bb3b87981b878f8b4edc2dd6
*: fix detection and usage of sys/cdefs.h

This header is non-standard (though present on many systems) and
there is no standard for what it should or should not define.

Remove it where it is not really needed. But add also a configure
check, so it can be used if available but otherwise fallback to
defining the needed macroes.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
configure.ac
isisd/include-netbsd/iso.h
lib/queue.h