From: Simon McVittie Date: Wed, 1 Jul 2020 15:01:38 +0000 (+0000) Subject: tests: On Unix, include for IPPROTO_TCP X-Git-Tag: dbus-1.12.22~14^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9281ef5a9e65f67f725811313720a66dbb04f0e;p=thirdparty%2Fdbus.git tests: On Unix, include for IPPROTO_TCP Otherwise, dbus doesn't compile on FreeBSD if the GLib-based tests are enabled (which suggests that no FreeBSD user has run those tests successfully). We already include in other places with no conditions or checks other than "is Unix", so apparently it's portable enough that specifically testing for its presence is not necessary. POSIX requires it to exist. Signed-off-by: Simon McVittie (cherry picked from commit f0e526bca8a5e47246c97199f5c388b0bd00d9f3) --- diff --git a/test/test-utils-glib.c b/test/test-utils-glib.c index 28a368487..09e226bf8 100644 --- a/test/test-utils-glib.c +++ b/test/test-utils-glib.c @@ -35,6 +35,7 @@ # include #else # include +# include # include # include # include