• Simon McVittie's avatar
    tests: On Unix, include <netinet/in.h> for IPPROTO_TCP · c9281ef5
    Simon McVittie authored
    Otherwise, dbus doesn't compile on FreeBSD if the GLib-based tests
    are enabled (which suggests that no FreeBSD user has run those tests
    We already include <netinet/in.h> 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's avatarSimon McVittie <smcv@collabora.com>
    (cherry picked from commit f0e526bc)
test-utils-glib.c 16.6 KB