diff --git a/gtests/net/packetdrill/run_system_call.c b/gtests/net/packetdrill/run_system_call.c index c54a41b58000e0059c0ac12304c4d3a2d1a19a40..5c5c426c9aeb78103848f3fbf5794ffce03dcdfd 100644 --- a/gtests/net/packetdrill/run_system_call.c +++ b/gtests/net/packetdrill/run_system_call.c @@ -48,6 +48,13 @@ static int to_live_fd(struct state *state, int script_fd, int *live_fd, char **error); +#if defined(linux) +struct sctp_tlv { + u16 sn_type; + u16 sn_flags; + u32 sn_length; +}; +#endif #if defined(__FreeBSD__) || defined(linux) static int check_sctp_notification(struct iovec *iov, struct expression *iovec_expr, char **error);