Index: uspace/lib/c/include/inet/addr.h
===================================================================
--- uspace/lib/c/include/inet/addr.h	(revision 3495654bdc189479ad81ce8b577ef5be40a481c3)
+++ uspace/lib/c/include/inet/addr.h	(revision 1c7ba2da5a598cd64f413f5b0e696bbaab9c4650)
@@ -36,5 +36,18 @@
 #define LIBC_INET_ADDR_H_
 
-#include <inet/inet.h>
+#include <stdint.h>
+
+/** Node address */
+typedef struct {
+	uint32_t ipv4;
+} inet_addr_t;
+
+/** Network address */
+typedef struct {
+	/** Address */
+	uint32_t ipv4;
+	/** Number of valid bits in @c ipv4 */
+	int bits;
+} inet_naddr_t;
 
 extern int inet_naddr_parse(const char *, inet_naddr_t *);
Index: uspace/lib/c/include/inet/inet.h
===================================================================
--- uspace/lib/c/include/inet/inet.h	(revision 3495654bdc189479ad81ce8b577ef5be40a481c3)
+++ uspace/lib/c/include/inet/inet.h	(revision 1c7ba2da5a598cd64f413f5b0e696bbaab9c4650)
@@ -36,20 +36,8 @@
 #define LIBC_INET_INET_H_
 
+#include <inet/addr.h>
 #include <sys/types.h>
 
 #define INET_TTL_MAX 255
-
-/** Node address */
-typedef struct {
-	uint32_t ipv4;
-} inet_addr_t;
-
-/** Network address */
-typedef struct {
-	/** Address */
-	uint32_t ipv4;
-	/** Number of valid bits in @c ipv4 */
-	int bits;
-} inet_naddr_t;
 
 typedef struct {
