summaryrefslogtreecommitdiff
path: root/src/libc/include/arpa/inet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libc/include/arpa/inet.h')
-rw-r--r--src/libc/include/arpa/inet.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libc/include/arpa/inet.h b/src/libc/include/arpa/inet.h
new file mode 100644
index 0000000..d372467
--- /dev/null
+++ b/src/libc/include/arpa/inet.h
@@ -0,0 +1,8 @@
+#pragma once
+#include <stdint.h>
+
+uint32_t htonl(uint32_t n);
+uint16_t htons(uint16_t n);
+
+uint32_t ntohl(uint32_t n);
+uint16_t ntohs(uint16_t n);