shared: Make sure ip-protocol-xxx.h headers include <netinet/in.h>

These headers use macros from <netinet/in.h> so let's make sure they
include the header.
This commit is contained in:
Daan De Meyer
2025-05-01 16:58:10 +02:00
parent 228e93c5c5
commit 95f87834f5
2 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ gperf_file = custom_target(
fname,
input : ip_protocol_list_txt,
output : fname,
command : [generate_gperfs, 'ip_protocol', 'IPPROTO_', '@INPUT@'],
command : [generate_gperfs, 'ip_protocol', 'IPPROTO_', '@INPUT@', '<netinet/in.h>'],
capture : true)
fname = 'ip-protocol-from-name.h'