From ff93091a1eb79d59f4939a3260a64a5d241c0937 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 24 Dec 2022 17:44:23 +0100 Subject: Add missing htons --- util/byteorder.h | 1 + 1 file changed, 1 insertion(+) (limited to 'util/byteorder.h') diff --git a/util/byteorder.h b/util/byteorder.h index 2b780ffe..fbec39e3 100644 --- a/util/byteorder.h +++ b/util/byteorder.h @@ -26,6 +26,7 @@ uint16_t ntohs(uint16_t netshort); uint32_t ntohl(uint32_t netlong); +uint16_t htons(uint16_t hostshort); uint32_t htonl(uint32_t hostlong); #endif /* _UTIL_BYTEORDER_H_ */ -- cgit v1.2.3