summaryrefslogtreecommitdiff
path: root/include/bits/in_addr.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-07 20:10:31 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-07 20:10:31 +0100
commitfc00c656c96528112d05cf0edf8631bd5eaea446 (patch)
treea6e0e6c588191a8bd1c64afc3b7a258e3e66c236 /include/bits/in_addr.h
Add build system scaffolding and libc headers
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