Ubuntuでsystrace(1.6g)をコンパイルしようとしています。libevent 2.0.16 を使用すると、次のコンパイル エラーが発生します。
In file included from /usr/include/netdb.h:28,
from /usr/include/event2/util.h:63,
from /usr/include/evutil.h:37,
from /usr/include/event.h:57,
from systrace.c:67:
/usr/include/netinet/in.h:141: error: two or more data types in declaration specifiers
/usr/include/netinet/in.h:141: error: two or more data types in declaration specifiers
これらは、/usr/include/netinet/in.h 内の対応する行です。
/* Internet address. */
typedef uint32_t in_addr_t;
struct in_addr
{
in_addr_t s_addr;
};
netinet/in.h で何を変更して動作させることができるかについて、誰かが洞察を提供できますか?