summaryrefslogtreecommitdiff
path: root/include/bits/in_addr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bits/in_addr.h')
-rw-r--r--include/bits/in_addr.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/bits/in_addr.h b/include/bits/in_addr.h
new file mode 100644
index 00000000..1d7ac0af
--- /dev/null
+++ b/include/bits/in_addr.h
@@ -0,0 +1,14 @@
+#ifndef __BITS_IN_ADDR_H
+#define __BITS_IN_ADDR_H
+
+#ifndef __BITS_IN_ADDR_H_
+#error "Internal header — include the public API header instead."
+#endif
+
+typedef __UINT32_TYPE__ in_addr_t;
+
+struct in_addr {
+ in_addr_t s_addr;
+};
+
+#endif