diff options
author | Andreas Schneider <asn@samba.org> | 2014-05-23 10:01:21 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-05-26 10:06:20 +0200 |
commit | 13ea22cdaac3b5855232f1f59d910b628847ffe2 (patch) | |
tree | 988bd6fe43dff04df27748669832c78e89dac890 /tests/echo_srv.c | |
parent | f81b6e84d57a6d40dce96b49cf18d924ab282872 (diff) | |
download | socket_wrapper-13ea22cdaac3b5855232f1f59d910b628847ffe2.tar.gz socket_wrapper-13ea22cdaac3b5855232f1f59d910b628847ffe2.tar.xz socket_wrapper-13ea22cdaac3b5855232f1f59d910b628847ffe2.zip |
swrap: Check if the in_pktinfo structure is available.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'tests/echo_srv.c')
-rw-r--r-- | tests/echo_srv.c | 2 |
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; }; |