From 2af983fe23524eec44ea3df3a430a514188c52a7 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 20 Nov 2013 16:32:16 +0100 Subject: tests: Fix test on Solaris. --- tests/testsuite.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/testsuite.c b/tests/testsuite.c index ae797a7..70ffe8e 100644 --- a/tests/testsuite.c +++ b/tests/testsuite.c @@ -74,8 +74,10 @@ static void test_swrap_ioctl_sock(void **state) fd = socket(AF_INET, SOCK_DGRAM, 0); assert_int_not_equal(fd, -1); +#ifdef FIONBIO rc = ioctl(fd, FIONBIO); assert_int_equal(rc, 0); +#endif #ifdef SIOCGPGRP rc = ioctl(fd, SIOCGPGRP, &grp); -- cgit