diff --git a/src/basic/arphrd-list.c b/src/basic/arphrd-list.c index 8652863cac5..b6e2486b67b 100644 --- a/src/basic/arphrd-list.c +++ b/src/basic/arphrd-list.c @@ -6,6 +6,7 @@ #include "arphrd-list.h" #include "macro.h" +#include "missing_network.h" static const struct arphrd_name* lookup_arphrd(register const char *str, register GPERF_LEN_TYPE len); diff --git a/src/basic/generate-af-list.sh b/src/basic/generate-af-list.sh index 39e2dad5e7a..5bf244c49d1 100755 --- a/src/basic/generate-af-list.sh +++ b/src/basic/generate-af-list.sh @@ -1,6 +1,6 @@ #!/bin/sh set -eu -$1 -E -dM -include sys/socket.h - #include "macro.h" +#include "missing_network.h" #include "string-util.h" -#include "util.h" _unused_ \ static const struct arphrd_name* lookup_arphrd(register const char *str, register GPERF_LEN_TYPE len);