From: Antonio Alvarez Feijoo Date: Wed, 12 Jun 2024 10:08:03 +0000 (+0200) Subject: test-ip-protocol-list: include missing_network.h instead of netinet/in.h X-Git-Tag: v257-rc1~1182 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=064d87e81fff552a82835eb4b68f1c3bb0693a50;p=thirdparty%2Fsystemd.git test-ip-protocol-list: include missing_network.h instead of netinet/in.h This fixes the build for glibc < 2.32 Follow-up for 3f69070598b569bf20f5c296ff21f861bfe003e3 --- diff --git a/src/test/test-ip-protocol-list.c b/src/test/test-ip-protocol-list.c index 5077ae2360e..210192d9a6d 100644 --- a/src/test/test-ip-protocol-list.c +++ b/src/test/test-ip-protocol-list.c @@ -1,9 +1,8 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ -#include - -#include "macro.h" #include "ip-protocol-list.h" +#include "macro.h" +#include "missing_network.h" #include "stdio-util.h" #include "string-util.h" #include "tests.h"