summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/echo_srv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/echo_srv.c b/tests/echo_srv.c
index 33f2ebd..a7b674d 100644
--- a/tests/echo_srv.c
+++ b/tests/echo_srv.c
@@ -59,7 +59,9 @@ union pktinfo {
#ifdef HAVE_STRUCT_IN6_PKTINFO
struct in6_pktinfo pkt6;
#endif
+#ifdef HAVE_STRUCT_IN_PKTINFO
struct in_pktinfo pkt4;
+#endif
char c;
};