Index: uspace/srv/net/tcp/pdu.h
===================================================================
--- uspace/srv/net/tcp/pdu.h	(revision dc122622bc947e1d697ecaa0da3e88b197e31f5e)
+++ uspace/srv/net/tcp/pdu.h	(revision 8d2dd7f2d52fbc7693f94b66e451eeff3756d061)
@@ -37,5 +37,5 @@
 
 #include <inet/endpoint.h>
-#include <sys/types.h>
+#include <stddef.h>
 #include "std.h"
 #include "tcp_type.h"
Index: uspace/srv/net/tcp/segment.h
===================================================================
--- uspace/srv/net/tcp/segment.h	(revision dc122622bc947e1d697ecaa0da3e88b197e31f5e)
+++ uspace/srv/net/tcp/segment.h	(revision 8d2dd7f2d52fbc7693f94b66e451eeff3756d061)
@@ -36,5 +36,6 @@
 #define SEGMENT_H
 
-#include <sys/types.h>
+#include <stddef.h>
+#include <stdint.h>
 #include "tcp_type.h"
 
Index: uspace/srv/net/tcp/seq_no.c
===================================================================
--- uspace/srv/net/tcp/seq_no.c	(revision dc122622bc947e1d697ecaa0da3e88b197e31f5e)
+++ uspace/srv/net/tcp/seq_no.c	(revision 8d2dd7f2d52fbc7693f94b66e451eeff3756d061)
@@ -37,5 +37,5 @@
 #include <assert.h>
 #include <stdbool.h>
-#include <sys/types.h>
+#include <stdint.h>
 #include "seq_no.h"
 #include "tcp_type.h"
Index: uspace/srv/net/tcp/seq_no.h
===================================================================
--- uspace/srv/net/tcp/seq_no.h	(revision dc122622bc947e1d697ecaa0da3e88b197e31f5e)
+++ uspace/srv/net/tcp/seq_no.h	(revision 8d2dd7f2d52fbc7693f94b66e451eeff3756d061)
@@ -36,5 +36,5 @@
 #define SEQ_NO_H
 
-#include <sys/types.h>
+#include <stdint.h>
 #include "tcp_type.h"
 
Index: uspace/srv/net/tcp/std.h
===================================================================
--- uspace/srv/net/tcp/std.h	(revision dc122622bc947e1d697ecaa0da3e88b197e31f5e)
+++ uspace/srv/net/tcp/std.h	(revision 8d2dd7f2d52fbc7693f94b66e451eeff3756d061)
@@ -38,5 +38,5 @@
 #define STD_H
 
-#include <sys/types.h>
+#include <stdint.h>
 #include <inet/addr.h>
 
Index: uspace/srv/net/tcp/tcp_type.h
===================================================================
--- uspace/srv/net/tcp/tcp_type.h	(revision dc122622bc947e1d697ecaa0da3e88b197e31f5e)
+++ uspace/srv/net/tcp/tcp_type.h	(revision 8d2dd7f2d52fbc7693f94b66e451eeff3756d061)
@@ -41,5 +41,6 @@
 #include <fibril.h>
 #include <fibril_synch.h>
-#include <sys/types.h>
+#include <stddef.h>
+#include <stdint.h>
 #include <inet/addr.h>
 #include <inet/endpoint.h>
Index: uspace/srv/net/tcp/ucall.h
===================================================================
--- uspace/srv/net/tcp/ucall.h	(revision dc122622bc947e1d697ecaa0da3e88b197e31f5e)
+++ uspace/srv/net/tcp/ucall.h	(revision 8d2dd7f2d52fbc7693f94b66e451eeff3756d061)
@@ -37,5 +37,5 @@
 
 #include <inet/endpoint.h>
-#include <sys/types.h>
+#include <stddef.h>
 #include "tcp_type.h"
 
