commit | 16ffb26fbbf8b3d1fee7a14eb401ecb02eed5058 | [log] [tgz] |
---|---|---|
author | Timo Teräs <timo.teras@iki.fi> | Tue Jul 29 09:41:54 2014 +0000 |
committer | David Lamparter <equinox@opensourcerouting.org> | Mon Aug 18 01:50:19 2014 +0200 |
tree | f1abb4a88c2677f1e405a855be200056c5c2bc4e | |
parent | 28a8cfcbc3a5cc74bb3b87981b878f8b4edc2dd6 [diff] |
*: 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>