From 13ea22cdaac3b5855232f1f59d910b628847ffe2 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 23 May 2014 10:01:21 +0200 Subject: swrap: Check if the in_pktinfo structure is available. Signed-off-by: Andreas Schneider Reviewed-by: Michael Adam --- tests/echo_srv.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') 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; }; -- cgit