]> The Tcpdump Group git mirrors - tcpdump/commit
Fix a build problem on the Linux Travis CI buildbot.
authorGuy Harris <[email protected]>
Sat, 2 Jan 2021 09:06:36 +0000 (01:06 -0800)
committerGuy Harris <[email protected]>
Mon, 4 Jan 2021 02:59:58 +0000 (18:59 -0800)
commit8f5c182a14f4f0299718bbfffb31a5d961670701
tree1e1eac9d78535241fcca2ee32a4bef0635fb0155
parent95e9f3471ab6c7fb5e3350eefb670689d1fd11a7
Fix a build problem on the Linux Travis CI buildbot.

The buildbot is failing in autotools builds - but not in CMake builds;
go figure.  Perhaps they're passing different flags to the C compiler,
and, in the autotools builds, the flag causes the compiler to define
whatever it takes to get /usr/include/features.h to define
_DEFAULT_SOURCE as 1, so that our defining it as nothing collides with
that.

(Dear UN*X community: please come up with a platform-independent,
reliable way of saying "expose every single API you have, namespace
pollution be damned.  kthxbye.)

(cherry picked from commit a689cf870986a04cf7a8b4fc74cab10e808f3c93)
ftmacros.h