  {
  	struct ifaddrs *ifaddrs_list, *ifaddr;
 diff -Naur packetdrill.orig/gtests/net/packetdrill/Makefile.common packetdrill/gtests/net/packetdrill/Makefile.common
---- packetdrill.orig/gtests/net/packetdrill/Makefile.common	2014-07-17 14:24:27.725581543 +0400
-+++ packetdrill/gtests/net/packetdrill/Makefile.common	2014-07-17 14:24:01.482248825 +0400
+--- packetdrill.orig/gtests/net/packetdrill/Makefile.common	2014-07-18 14:37:14.083012198 +0400
++++ packetdrill/gtests/net/packetdrill/Makefile.common	2014-07-17 18:24:54.891822820 +0400
 @@ -4,7 +4,7 @@
  
  parser.o: parser.y

 /* Allocate a new options list. */
 extern struct tcp_options *tcp_options_new(void);
diff -Naur packetdrill.orig/gtests/net/packetdrill/wire_conn.c packetdrill/gtests/net/packetdrill/wire_conn.c
--- packetdrill.orig/gtests/net/packetdrill/wire_conn.c	2014-07-17 14:24:27.725581543 +0400
+++ packetdrill/gtests/net/packetdrill/wire_conn.c	2014-07-17 14:12:20.435602823 +0400
@@ -125,7 +125,7 @@
 	}
 

+#endif /* __EMBOX__ */
diff -Naur packetdrill.orig/gtests/net/packetdrill/tcp_option_g.c packetdrill/gtests/net/packetdrill/tcp_option_g.c
--- packetdrill.orig/gtests/net/packetdrill/tcp_option_g.c	1970-01-01 03:00:00.000000000 +0300
+++ packetdrill/gtests/net/packetdrill/tcp_option_g.c	2014-07-17 18:24:54.891822820 +0400
@@ -0,0 +1,4 @@
+
+#include "tcp_option.h"
+
+struct tcp_option tcp_option;
diff -Naur packetdrill.orig/gtests/net/packetdrill/tcp_options.h packetdrill/gtests/net/packetdrill/tcp_options.h
--- packetdrill.orig/gtests/net/packetdrill/tcp_options.h	2014-07-18 14:37:14.083012198 +0400
+++ packetdrill/gtests/net/packetdrill/tcp_options.h	2014-07-17 18:24:54.891822820 +0400
@@ -93,7 +93,8 @@
 			u8 cookie[MAX_TCP_FAST_OPEN_COOKIE_BYTES];
 		} fast_open;
