Index: uspace/lib/c/include/byteorder.h
===================================================================
--- uspace/lib/c/include/byteorder.h	(revision 63f89665fc0283c1661274dc636d5a66e03d48b4)
+++ uspace/lib/c/include/byteorder.h	(revision b278b4e488fac57504e4a018c35951206373c032)
@@ -80,4 +80,9 @@
 #endif
 
+#define htons(n)	host2uint16_t_be((n))
+#define htonl(n)	host2uint32_t_be((n))
+#define ntohs(n)	uint16_t_be2host((n))
+#define ntohl(n)	uint32_t_be2host((n))
+
 static inline uint64_t uint64_t_byteorder_swap(uint64_t n)
 {
