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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user