summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice Bellet <fabrice@bellet.info>2019-06-28 15:35:41 +0200
committerOlivier CrĂȘte <olivier.crete@collabora.com>2019-07-04 17:03:43 -0400
commit09714965c8cbefc5aa26ac40b9548832ad462cc3 (patch)
tree96e527875d6ffaa5e548d4155e273f9c98fc8434
parent3a4e2b234059f262b0df5fa99ea54a3071892b2e (diff)
downloadlibnice-09714965c8cbefc5aa26ac40b9548832ad462cc3.tar.gz
tests: fix a compiler warning
-rw-r--r--stun/tests/test-bind.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stun/tests/test-bind.c b/stun/tests/test-bind.c
index a3d4753..7df9b3c 100644
--- a/stun/tests/test-bind.c
+++ b/stun/tests/test-bind.c
@@ -157,6 +157,7 @@ static void big_srv_addr (void)
}
+#ifdef HAVE_POLL
/** Timeout test */
static void timeout (void)
{
@@ -178,6 +179,7 @@ static void timeout (void)
close (servfd);
}
+#endif
/** Malformed responses test */
static void bad_responses (void)