起因:Fuzz程序在新的ubuntu16.04机器上编译时报错
/usr/include/netinet/in.h:84:5: error: expected identifier before numeric constant IPPROTO_SCTP = 132, /* Stream Control Transmission Protocol. */ |
主要是define.h 的问题,参考
https://ubuntuforums.org/showthread.php?t=1429183
define.h中 分别include了两次 <netinet/in.h> 和 #include <netinet/sctp.h>
只各保留一次,且include <netinet/in.h>在前,include <netinet/sctp.h>在后即可