From f64d223efcbfc1b1c8c20e73387a6d824fe4fbbe Mon Sep 17 00:00:00 2001
From: Michael Tuexen <tuexen@fh-muenster.de>
Date: Thu, 29 Oct 2015 23:08:22 +0100
Subject: [PATCH] Fix Linux compilation.

---
 gtests/net/packetdrill/run_system_call.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gtests/net/packetdrill/run_system_call.c b/gtests/net/packetdrill/run_system_call.c
index c54a41b5..5c5c426c 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);
-- 
GitLab