aboutsummaryrefslogtreecommitdiff
path: root/tests/testutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testutil.h')
-rw-r--r--tests/testutil.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testutil.h b/tests/testutil.h
index ab792557..b9acfedf 100644
--- a/tests/testutil.h
+++ b/tests/testutil.h
@@ -31,6 +31,9 @@ extern bool testutil_pollfd(int);
// testutil_htons is just htons portably.
extern uint16_t testutil_htons(uint16_t);
+// testutil_htonl is just htonl portably.
+extern uint32_t testutil_htonl(uint32_t);
+
// testutil_sleep sleeps the specified number of msec
extern void testutil_sleep(int);