diff options
author | Guy Harris <gharris@sonic.net> | 2021-01-01 22:47:27 -0800 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-01-01 22:47:27 -0800 |
commit | eebc98d735bc573c297578674efc470e7fd29998 (patch) | |
tree | 01441097dfda38aae8db8a6f3ad21ae2858ea822 /netdissect-stdinc.h | |
parent | 488e0a6db4b03b46eeffc5240bd3c67f1204496c (diff) | |
download | tcpdump-eebc98d735bc573c297578674efc470e7fd29998.tar.gz |
Add ftmacros.h, defining various feature test macros, and use it.
This attempts to ensure that we get all the APIs for the platform
declared, including the ones that, shock horror, "pollute the
namespace".
This fixes some compile failures with Sun C on Solaris 11.
Diffstat (limited to 'netdissect-stdinc.h')
-rw-r--r-- | netdissect-stdinc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/netdissect-stdinc.h b/netdissect-stdinc.h index 0639b881..0523620f 100644 --- a/netdissect-stdinc.h +++ b/netdissect-stdinc.h @@ -39,6 +39,8 @@ #ifndef netdissect_stdinc_h #define netdissect_stdinc_h +#include "ftmacros.h" + #include <errno.h> #include "compiler-tests.h" |