summaryrefslogtreecommitdiffstats
path: root/freebsd/lib
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-27 10:25:22 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-30 16:06:41 +0200
commit3d1e767c8fa5863e202f9027188cf3fad214e4b3 (patch)
tree8e21a4db9dab8f31432aff0cb69c0f2064dac425 /freebsd/lib
parentDirectly use <sys/time.h> provided by Newlib (diff)
downloadrtems-libbsd-3d1e767c8fa5863e202f9027188cf3fad214e4b3.tar.bz2
Directly use <sys/types.h> provided by Newlib
Diffstat (limited to 'freebsd/lib')
-rw-r--r--freebsd/lib/libc/db/btree/bt_delete.c2
-rw-r--r--freebsd/lib/libc/db/btree/bt_get.c2
-rw-r--r--freebsd/lib/libc/db/btree/bt_page.c2
-rw-r--r--freebsd/lib/libc/db/btree/bt_put.c2
-rw-r--r--freebsd/lib/libc/db/btree/bt_search.c2
-rw-r--r--freebsd/lib/libc/db/btree/bt_seq.c2
-rw-r--r--freebsd/lib/libc/db/btree/bt_split.c2
-rw-r--r--freebsd/lib/libc/db/db/db.c2
-rw-r--r--freebsd/lib/libc/db/recno/rec_close.c2
-rw-r--r--freebsd/lib/libc/db/recno/rec_delete.c2
-rw-r--r--freebsd/lib/libc/db/recno/rec_get.c2
-rw-r--r--freebsd/lib/libc/db/recno/rec_open.c2
-rw-r--r--freebsd/lib/libc/db/recno/rec_put.c2
-rw-r--r--freebsd/lib/libc/db/recno/rec_search.c2
-rw-r--r--freebsd/lib/libc/db/recno/rec_seq.c2
-rw-r--r--freebsd/lib/libc/gen/feature_present.c2
-rw-r--r--freebsd/lib/libc/include/isc/eventlib.h2
-rw-r--r--freebsd/lib/libc/include/resolv_mt.h2
-rw-r--r--freebsd/lib/libc/include/spinlock.h2
-rw-r--r--freebsd/lib/libc/inet/inet_addr.c2
-rw-r--r--freebsd/lib/libc/inet/inet_cidr_ntop.c2
-rw-r--r--freebsd/lib/libc/inet/inet_cidr_pton.c2
-rw-r--r--freebsd/lib/libc/inet/inet_net_ntop.c2
-rw-r--r--freebsd/lib/libc/inet/inet_net_pton.c2
-rw-r--r--freebsd/lib/libc/inet/inet_neta.c2
-rw-r--r--freebsd/lib/libc/inet/inet_network.c2
-rw-r--r--freebsd/lib/libc/inet/inet_ntoa.c2
-rw-r--r--freebsd/lib/libc/inet/inet_ntop.c2
-rw-r--r--freebsd/lib/libc/inet/inet_pton.c2
-rw-r--r--freebsd/lib/libc/inet/nsap_addr.c2
-rw-r--r--freebsd/lib/libc/isc/ev_streams.c2
-rw-r--r--freebsd/lib/libc/isc/eventlib_p.h2
-rw-r--r--freebsd/lib/libc/nameser/ns_name.c2
-rw-r--r--freebsd/lib/libc/nameser/ns_parse.c2
-rw-r--r--freebsd/lib/libc/nameser/ns_print.c2
-rw-r--r--freebsd/lib/libc/nameser/ns_samedomain.c2
-rw-r--r--freebsd/lib/libc/net/base64.c2
-rw-r--r--freebsd/lib/libc/net/ether_addr.c2
-rw-r--r--freebsd/lib/libc/net/getaddrinfo.c2
-rw-r--r--freebsd/lib/libc/net/gethostbydns.c2
-rw-r--r--freebsd/lib/libc/net/getifaddrs.c2
-rw-r--r--freebsd/lib/libc/net/getnameinfo.c2
-rw-r--r--freebsd/lib/libc/net/getnetbyht.c2
-rw-r--r--freebsd/lib/libc/net/getprotoent.c2
-rw-r--r--freebsd/lib/libc/net/getservent.c2
-rw-r--r--freebsd/lib/libc/net/if_indextoname.c2
-rw-r--r--freebsd/lib/libc/net/if_nameindex.c2
-rw-r--r--freebsd/lib/libc/net/if_nametoindex.c2
-rw-r--r--freebsd/lib/libc/net/ip6opt.c2
-rw-r--r--freebsd/lib/libc/net/linkaddr.c2
-rw-r--r--freebsd/lib/libc/net/map_v4v6.c2
-rw-r--r--freebsd/lib/libc/net/recv.c2
-rw-r--r--freebsd/lib/libc/net/rthdr.c2
-rw-r--r--freebsd/lib/libc/net/send.c2
-rw-r--r--freebsd/lib/libc/net/vars.c2
-rw-r--r--freebsd/lib/libc/posix1e/mac.c2
-rw-r--r--freebsd/lib/libc/resolv/h_errno.c2
-rw-r--r--freebsd/lib/libc/resolv/herror.c2
-rw-r--r--freebsd/lib/libc/resolv/res_comp.c2
-rw-r--r--freebsd/lib/libc/resolv/res_data.c2
-rw-r--r--freebsd/lib/libc/resolv/res_debug.c2
-rw-r--r--freebsd/lib/libc/resolv/res_init.c2
-rw-r--r--freebsd/lib/libc/resolv/res_mkquery.c2
-rw-r--r--freebsd/lib/libc/resolv/res_mkupdate.c2
-rw-r--r--freebsd/lib/libc/resolv/res_query.c2
-rw-r--r--freebsd/lib/libc/resolv/res_send.c2
-rw-r--r--freebsd/lib/libc/resolv/res_state.c2
-rw-r--r--freebsd/lib/libc/stdio/local.h2
-rw-r--r--freebsd/lib/libipsec/ipsec_dump_policy.c2
-rw-r--r--freebsd/lib/libipsec/ipsec_get_policylen.c2
-rw-r--r--freebsd/lib/libipsec/ipsec_strerror.c2
-rw-r--r--freebsd/lib/libipsec/pfkey.c2
-rw-r--r--freebsd/lib/libipsec/pfkey_dump.c2
-rw-r--r--freebsd/lib/libmemstat/memstat_all.c2
-rw-r--r--freebsd/lib/libutil/expand_number.c2
-rw-r--r--freebsd/lib/libutil/humanize_number.c2
76 files changed, 76 insertions, 76 deletions
diff --git a/freebsd/lib/libc/db/btree/bt_delete.c b/freebsd/lib/libc/db/btree/bt_delete.c
index 12b02d3f..bf666d31 100644
--- a/freebsd/lib/libc/db/btree/bt_delete.c
+++ b/freebsd/lib/libc/db/btree/bt_delete.c
@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)bt_delete.c 8.13 (Berkeley) 7/28/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <errno.h>
#include <stdio.h>
diff --git a/freebsd/lib/libc/db/btree/bt_get.c b/freebsd/lib/libc/db/btree/bt_get.c
index 3a8394bd..6b630c78 100644
--- a/freebsd/lib/libc/db/btree/bt_get.c
+++ b/freebsd/lib/libc/db/btree/bt_get.c
@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)bt_get.c 8.6 (Berkeley) 7/20/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <errno.h>
#include <stddef.h>
diff --git a/freebsd/lib/libc/db/btree/bt_page.c b/freebsd/lib/libc/db/btree/bt_page.c
index 6c95aa02..26004e8d 100644
--- a/freebsd/lib/libc/db/btree/bt_page.c
+++ b/freebsd/lib/libc/db/btree/bt_page.c
@@ -35,7 +35,7 @@ static char sccsid[] = "@(#)bt_page.c 8.3 (Berkeley) 7/14/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <stdio.h>
diff --git a/freebsd/lib/libc/db/btree/bt_put.c b/freebsd/lib/libc/db/btree/bt_put.c
index c82102ba..885562b3 100644
--- a/freebsd/lib/libc/db/btree/bt_put.c
+++ b/freebsd/lib/libc/db/btree/bt_put.c
@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)bt_put.c 8.8 (Berkeley) 7/26/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <errno.h>
#include <stdio.h>
diff --git a/freebsd/lib/libc/db/btree/bt_search.c b/freebsd/lib/libc/db/btree/bt_search.c
index 7a5a2f47..2e7a415e 100644
--- a/freebsd/lib/libc/db/btree/bt_search.c
+++ b/freebsd/lib/libc/db/btree/bt_search.c
@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)bt_search.c 8.8 (Berkeley) 7/31/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <stdio.h>
diff --git a/freebsd/lib/libc/db/btree/bt_seq.c b/freebsd/lib/libc/db/btree/bt_seq.c
index 0bfa70a5..bfe717be 100644
--- a/freebsd/lib/libc/db/btree/bt_seq.c
+++ b/freebsd/lib/libc/db/btree/bt_seq.c
@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)bt_seq.c 8.7 (Berkeley) 7/20/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <errno.h>
#include <stddef.h>
diff --git a/freebsd/lib/libc/db/btree/bt_split.c b/freebsd/lib/libc/db/btree/bt_split.c
index 16efb701..5ea902dd 100644
--- a/freebsd/lib/libc/db/btree/bt_split.c
+++ b/freebsd/lib/libc/db/btree/bt_split.c
@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)bt_split.c 8.10 (Berkeley) 1/9/95";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <limits.h>
diff --git a/freebsd/lib/libc/db/db/db.c b/freebsd/lib/libc/db/db/db.c
index b6b4a5e6..ffd083c7 100644
--- a/freebsd/lib/libc/db/db/db.c
+++ b/freebsd/lib/libc/db/db/db.c
@@ -35,7 +35,7 @@ static char sccsid[] = "@(#)db.c 8.4 (Berkeley) 2/21/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/freebsd/lib/libc/db/recno/rec_close.c b/freebsd/lib/libc/db/recno/rec_close.c
index 210b32cf..04b17d71 100644
--- a/freebsd/lib/libc/db/recno/rec_close.c
+++ b/freebsd/lib/libc/db/recno/rec_close.c
@@ -36,7 +36,7 @@ static char sccsid[] = "@(#)rec_close.c 8.6 (Berkeley) 8/18/94";
__FBSDID("$FreeBSD$");
#include "namespace.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/uio.h>
#include <sys/mman.h>
diff --git a/freebsd/lib/libc/db/recno/rec_delete.c b/freebsd/lib/libc/db/recno/rec_delete.c
index 41fa5cb7..2a51308d 100644
--- a/freebsd/lib/libc/db/recno/rec_delete.c
+++ b/freebsd/lib/libc/db/recno/rec_delete.c
@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)rec_delete.c 8.7 (Berkeley) 7/14/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <errno.h>
#include <stdio.h>
diff --git a/freebsd/lib/libc/db/recno/rec_get.c b/freebsd/lib/libc/db/recno/rec_get.c
index a8552949..93747d79 100644
--- a/freebsd/lib/libc/db/recno/rec_get.c
+++ b/freebsd/lib/libc/db/recno/rec_get.c
@@ -35,7 +35,7 @@ static char sccsid[] = "@(#)rec_get.c 8.9 (Berkeley) 8/18/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <errno.h>
#include <stddef.h>
diff --git a/freebsd/lib/libc/db/recno/rec_open.c b/freebsd/lib/libc/db/recno/rec_open.c
index d2cfebab..81945fea 100644
--- a/freebsd/lib/libc/db/recno/rec_open.c
+++ b/freebsd/lib/libc/db/recno/rec_open.c
@@ -39,7 +39,7 @@ static char sccsid[] = "@(#)rec_open.c 8.10 (Berkeley) 9/1/94";
__FBSDID("$FreeBSD$");
#include "namespace.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/mman.h>
#include <sys/stat.h>
diff --git a/freebsd/lib/libc/db/recno/rec_put.c b/freebsd/lib/libc/db/recno/rec_put.c
index 85be89cb..a667022e 100644
--- a/freebsd/lib/libc/db/recno/rec_put.c
+++ b/freebsd/lib/libc/db/recno/rec_put.c
@@ -35,7 +35,7 @@ static char sccsid[] = "@(#)rec_put.c 8.7 (Berkeley) 8/18/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <errno.h>
#include <stdio.h>
diff --git a/freebsd/lib/libc/db/recno/rec_search.c b/freebsd/lib/libc/db/recno/rec_search.c
index ca27f1b5..130451ae 100644
--- a/freebsd/lib/libc/db/recno/rec_search.c
+++ b/freebsd/lib/libc/db/recno/rec_search.c
@@ -35,7 +35,7 @@ static char sccsid[] = "@(#)rec_search.c 8.4 (Berkeley) 7/14/94";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <errno.h>
#include <stdio.h>
diff --git a/freebsd/lib/libc/db/recno/rec_seq.c b/freebsd/lib/libc/db/recno/rec_seq.c
index 29e51991..c8b4f982 100644
--- a/freebsd/lib/libc/db/recno/rec_seq.c
+++ b/freebsd/lib/libc/db/recno/rec_seq.c
@@ -36,7 +36,7 @@ static char sccsid[] __unused = "@(#)rec_seq.c 8.3 (Berkeley) 7/14/94";
#endif /* not lint */
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <errno.h>
#include <limits.h>
diff --git a/freebsd/lib/libc/gen/feature_present.c b/freebsd/lib/libc/gen/feature_present.c
index 5fbd8b29..9404a063 100644
--- a/freebsd/lib/libc/gen/feature_present.c
+++ b/freebsd/lib/libc/gen/feature_present.c
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/sysctl.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/freebsd/lib/libc/include/isc/eventlib.h b/freebsd/lib/libc/include/isc/eventlib.h
index 7a5a095f..a4cfdf90 100644
--- a/freebsd/lib/libc/include/isc/eventlib.h
+++ b/freebsd/lib/libc/include/isc/eventlib.h
@@ -24,7 +24,7 @@
#ifndef _EVENTLIB_H
#define _EVENTLIB_H
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/uio.h>
#include <sys/time.h>
#include <stdio.h>
diff --git a/freebsd/lib/libc/include/resolv_mt.h b/freebsd/lib/libc/include/resolv_mt.h
index a12f2563..27963a12 100644
--- a/freebsd/lib/libc/include/resolv_mt.h
+++ b/freebsd/lib/libc/include/resolv_mt.h
@@ -1,7 +1,7 @@
#ifndef _RESOLV_MT_H
#define _RESOLV_MT_H
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>
diff --git a/freebsd/lib/libc/include/spinlock.h b/freebsd/lib/libc/include/spinlock.h
index e55b569f..c9facc51 100644
--- a/freebsd/lib/libc/include/spinlock.h
+++ b/freebsd/lib/libc/include/spinlock.h
@@ -35,7 +35,7 @@
#ifndef _SPINLOCK_H_
#define _SPINLOCK_H_
#include <sys/cdefs.h>
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
/*
* Lock structure with room for debugging information.
diff --git a/freebsd/lib/libc/inet/inet_addr.c b/freebsd/lib/libc/inet/inet_addr.c
index eab1a42e..e0980f6c 100644
--- a/freebsd/lib/libc/inet/inet_addr.c
+++ b/freebsd/lib/libc/inet/inet_addr.c
@@ -75,7 +75,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <netinet/in.h>
diff --git a/freebsd/lib/libc/inet/inet_cidr_ntop.c b/freebsd/lib/libc/inet/inet_cidr_ntop.c
index 2c999096..1fccb9a4 100644
--- a/freebsd/lib/libc/inet/inet_cidr_ntop.c
+++ b/freebsd/lib/libc/inet/inet_cidr_ntop.c
@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
diff --git a/freebsd/lib/libc/inet/inet_cidr_pton.c b/freebsd/lib/libc/inet/inet_cidr_pton.c
index b6513f78..fc0672bd 100644
--- a/freebsd/lib/libc/inet/inet_cidr_pton.c
+++ b/freebsd/lib/libc/inet/inet_cidr_pton.c
@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
diff --git a/freebsd/lib/libc/inet/inet_net_ntop.c b/freebsd/lib/libc/inet/inet_net_ntop.c
index 998e0fc8..49e20fb8 100644
--- a/freebsd/lib/libc/inet/inet_net_ntop.c
+++ b/freebsd/lib/libc/inet/inet_net_ntop.c
@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/freebsd/lib/libc/inet/inet_net_pton.c b/freebsd/lib/libc/inet/inet_net_pton.c
index 29f9ca03..2a8fc345 100644
--- a/freebsd/lib/libc/inet/inet_net_pton.c
+++ b/freebsd/lib/libc/inet/inet_net_pton.c
@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
diff --git a/freebsd/lib/libc/inet/inet_neta.c b/freebsd/lib/libc/inet/inet_neta.c
index 69c129d2..14b75c18 100644
--- a/freebsd/lib/libc/inet/inet_neta.c
+++ b/freebsd/lib/libc/inet/inet_neta.c
@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/freebsd/lib/libc/inet/inet_network.c b/freebsd/lib/libc/inet/inet_network.c
index ae820113..88a760c4 100644
--- a/freebsd/lib/libc/inet/inet_network.c
+++ b/freebsd/lib/libc/inet/inet_network.c
@@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <ctype.h>
diff --git a/freebsd/lib/libc/inet/inet_ntoa.c b/freebsd/lib/libc/inet/inet_ntoa.c
index 1097fc72..539cf747 100644
--- a/freebsd/lib/libc/inet/inet_ntoa.c
+++ b/freebsd/lib/libc/inet/inet_ntoa.c
@@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/freebsd/lib/libc/inet/inet_ntop.c b/freebsd/lib/libc/inet/inet_ntop.c
index 879b2504..5cd6a7e0 100644
--- a/freebsd/lib/libc/inet/inet_ntop.c
+++ b/freebsd/lib/libc/inet/inet_ntop.c
@@ -26,7 +26,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/param.h>
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/freebsd/lib/libc/inet/inet_pton.c b/freebsd/lib/libc/inet/inet_pton.c
index b02dd7f1..738b9b50 100644
--- a/freebsd/lib/libc/inet/inet_pton.c
+++ b/freebsd/lib/libc/inet/inet_pton.c
@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include <rtems/bsd/sys/param.h>
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/freebsd/lib/libc/inet/nsap_addr.c b/freebsd/lib/libc/inet/nsap_addr.c
index 3bbb3962..5489f983 100644
--- a/freebsd/lib/libc/inet/nsap_addr.c
+++ b/freebsd/lib/libc/inet/nsap_addr.c
@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
diff --git a/freebsd/lib/libc/isc/ev_streams.c b/freebsd/lib/libc/isc/ev_streams.c
index 83fd4a1e..92af0c87 100644
--- a/freebsd/lib/libc/isc/ev_streams.c
+++ b/freebsd/lib/libc/isc/ev_streams.c
@@ -32,7 +32,7 @@ __FBSDID("$FreeBSD$");
#include "fd_setsize.h"
#endif
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/uio.h>
#include <errno.h>
diff --git a/freebsd/lib/libc/isc/eventlib_p.h b/freebsd/lib/libc/isc/eventlib_p.h
index b27ab54d..678f5ee7 100644
--- a/freebsd/lib/libc/isc/eventlib_p.h
+++ b/freebsd/lib/libc/isc/eventlib_p.h
@@ -27,7 +27,7 @@
#define _EVENTLIB_P_H
#include <rtems/bsd/sys/param.h>
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/un.h>
diff --git a/freebsd/lib/libc/nameser/ns_name.c b/freebsd/lib/libc/nameser/ns_name.c
index fa1a32e3..224f9512 100644
--- a/freebsd/lib/libc/nameser/ns_name.c
+++ b/freebsd/lib/libc/nameser/ns_name.c
@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
diff --git a/freebsd/lib/libc/nameser/ns_parse.c b/freebsd/lib/libc/nameser/ns_parse.c
index 80325e7c..6b3f68c6 100644
--- a/freebsd/lib/libc/nameser/ns_parse.c
+++ b/freebsd/lib/libc/nameser/ns_parse.c
@@ -27,7 +27,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
diff --git a/freebsd/lib/libc/nameser/ns_print.c b/freebsd/lib/libc/nameser/ns_print.c
index 8f797962..99427348 100644
--- a/freebsd/lib/libc/nameser/ns_print.c
+++ b/freebsd/lib/libc/nameser/ns_print.c
@@ -27,7 +27,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/freebsd/lib/libc/nameser/ns_samedomain.c b/freebsd/lib/libc/nameser/ns_samedomain.c
index b10b5707..6bfe42d2 100644
--- a/freebsd/lib/libc/nameser/ns_samedomain.c
+++ b/freebsd/lib/libc/nameser/ns_samedomain.c
@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <arpa/nameser.h>
#include <errno.h>
#include <string.h>
diff --git a/freebsd/lib/libc/net/base64.c b/freebsd/lib/libc/net/base64.c
index 96838ca8..227dc68e 100644
--- a/freebsd/lib/libc/net/base64.c
+++ b/freebsd/lib/libc/net/base64.c
@@ -45,7 +45,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
diff --git a/freebsd/lib/libc/net/ether_addr.c b/freebsd/lib/libc/net/ether_addr.c
index 8089d1e4..d5a35de2 100644
--- a/freebsd/lib/libc/net/ether_addr.c
+++ b/freebsd/lib/libc/net/ether_addr.c
@@ -42,7 +42,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
diff --git a/freebsd/lib/libc/net/getaddrinfo.c b/freebsd/lib/libc/net/getaddrinfo.c
index fbffd6b0..65e905c3 100644
--- a/freebsd/lib/libc/net/getaddrinfo.c
+++ b/freebsd/lib/libc/net/getaddrinfo.c
@@ -59,7 +59,7 @@
__FBSDID("$FreeBSD$");
#include "namespace.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
#include <net/if.h>
diff --git a/freebsd/lib/libc/net/gethostbydns.c b/freebsd/lib/libc/net/gethostbydns.c
index d1c62590..764ec311 100644
--- a/freebsd/lib/libc/net/gethostbydns.c
+++ b/freebsd/lib/libc/net/gethostbydns.c
@@ -58,7 +58,7 @@ static char fromrcsid[] = "From: Id: gethnamaddr.c,v 8.23 1998/04/07 04:59:46 vi
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/freebsd/lib/libc/net/getifaddrs.c b/freebsd/lib/libc/net/getifaddrs.c
index 1cc49018..17ef0198 100644
--- a/freebsd/lib/libc/net/getifaddrs.c
+++ b/freebsd/lib/libc/net/getifaddrs.c
@@ -35,7 +35,7 @@
__FBSDID("$FreeBSD$");
#include "namespace.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <net/if.h>
diff --git a/freebsd/lib/libc/net/getnameinfo.c b/freebsd/lib/libc/net/getnameinfo.c
index 74ea9a84..3a489c48 100644
--- a/freebsd/lib/libc/net/getnameinfo.c
+++ b/freebsd/lib/libc/net/getnameinfo.c
@@ -49,7 +49,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <net/if_dl.h>
diff --git a/freebsd/lib/libc/net/getnetbyht.c b/freebsd/lib/libc/net/getnetbyht.c
index 1e4d64f5..caf9c3a6 100644
--- a/freebsd/lib/libc/net/getnetbyht.c
+++ b/freebsd/lib/libc/net/getnetbyht.c
@@ -46,7 +46,7 @@ static char orig_rcsid[] = "From: Id: getnetent.c,v 8.4 1997/06/01 20:34:37 vixi
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/freebsd/lib/libc/net/getprotoent.c b/freebsd/lib/libc/net/getprotoent.c
index 3c584fc1..d0a7a97e 100644
--- a/freebsd/lib/libc/net/getprotoent.c
+++ b/freebsd/lib/libc/net/getprotoent.c
@@ -36,7 +36,7 @@ static char sccsid[] = "@(#)getprotoent.c 8.1 (Berkeley) 6/4/93";
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/param.h>
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <errno.h>
#include <limits.h>
diff --git a/freebsd/lib/libc/net/getservent.c b/freebsd/lib/libc/net/getservent.c
index eebd1c2a..aff91ed2 100644
--- a/freebsd/lib/libc/net/getservent.c
+++ b/freebsd/lib/libc/net/getservent.c
@@ -36,7 +36,7 @@ static char sccsid[] = "@(#)getservent.c 8.1 (Berkeley) 6/4/93";
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/param.h>
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <db.h>
diff --git a/freebsd/lib/libc/net/if_indextoname.c b/freebsd/lib/libc/net/if_indextoname.c
index 82f8920d..b0f10f72 100644
--- a/freebsd/lib/libc/net/if_indextoname.c
+++ b/freebsd/lib/libc/net/if_indextoname.c
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <net/if_dl.h>
#include <net/if.h>
diff --git a/freebsd/lib/libc/net/if_nameindex.c b/freebsd/lib/libc/net/if_nameindex.c
index f5a826d9..7cb14a80 100644
--- a/freebsd/lib/libc/net/if_nameindex.c
+++ b/freebsd/lib/libc/net/if_nameindex.c
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <net/if_dl.h>
#include <net/if.h>
diff --git a/freebsd/lib/libc/net/if_nametoindex.c b/freebsd/lib/libc/net/if_nametoindex.c
index 467f15e9..eff590e7 100644
--- a/freebsd/lib/libc/net/if_nametoindex.c
+++ b/freebsd/lib/libc/net/if_nametoindex.c
@@ -31,7 +31,7 @@
__FBSDID("$FreeBSD$");
#include "namespace.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <sys/sockio.h>
#include <net/if.h>
diff --git a/freebsd/lib/libc/net/ip6opt.c b/freebsd/lib/libc/net/ip6opt.c
index 582757fe..a09f05d8 100644
--- a/freebsd/lib/libc/net/ip6opt.c
+++ b/freebsd/lib/libc/net/ip6opt.c
@@ -35,7 +35,7 @@
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/param.h>
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/freebsd/lib/libc/net/linkaddr.c b/freebsd/lib/libc/net/linkaddr.c
index 71b631e7..10aff86c 100644
--- a/freebsd/lib/libc/net/linkaddr.c
+++ b/freebsd/lib/libc/net/linkaddr.c
@@ -35,7 +35,7 @@ static char sccsid[] = "@(#)linkaddr.c 8.1 (Berkeley) 6/4/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <net/if_dl.h>
#include <string.h>
diff --git a/freebsd/lib/libc/net/map_v4v6.c b/freebsd/lib/libc/net/map_v4v6.c
index 6629ff1c..e2fc9747 100644
--- a/freebsd/lib/libc/net/map_v4v6.c
+++ b/freebsd/lib/libc/net/map_v4v6.c
@@ -57,7 +57,7 @@ static char sccsid[] = "@(#)gethostnamadr.c 8.1 (Berkeley) 6/4/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/freebsd/lib/libc/net/recv.c b/freebsd/lib/libc/net/recv.c
index 2c78fc6f..168cb85e 100644
--- a/freebsd/lib/libc/net/recv.c
+++ b/freebsd/lib/libc/net/recv.c
@@ -36,7 +36,7 @@ static char sccsid[] = "@(#)recv.c 8.2 (Berkeley) 2/21/94";
__FBSDID("$FreeBSD$");
#include "namespace.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <stddef.h>
diff --git a/freebsd/lib/libc/net/rthdr.c b/freebsd/lib/libc/net/rthdr.c
index 8436b8a1..f2a1d3d0 100644
--- a/freebsd/lib/libc/net/rthdr.c
+++ b/freebsd/lib/libc/net/rthdr.c
@@ -35,7 +35,7 @@
__FBSDID("$FreeBSD$");
#include <rtems/bsd/sys/param.h>
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff --git a/freebsd/lib/libc/net/send.c b/freebsd/lib/libc/net/send.c
index 978f7f1d..aac2e1f8 100644
--- a/freebsd/lib/libc/net/send.c
+++ b/freebsd/lib/libc/net/send.c
@@ -36,7 +36,7 @@ static char sccsid[] = "@(#)send.c 8.2 (Berkeley) 2/21/94";
__FBSDID("$FreeBSD$");
#include "namespace.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <stddef.h>
diff --git a/freebsd/lib/libc/net/vars.c b/freebsd/lib/libc/net/vars.c
index 22136cd3..42ee2054 100644
--- a/freebsd/lib/libc/net/vars.c
+++ b/freebsd/lib/libc/net/vars.c
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <netinet/in.h>
/*
diff --git a/freebsd/lib/libc/posix1e/mac.c b/freebsd/lib/libc/posix1e/mac.c
index b5adfc77..3806130a 100644
--- a/freebsd/lib/libc/posix1e/mac.c
+++ b/freebsd/lib/libc/posix1e/mac.c
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/queue.h>
#include <sys/sysctl.h>
diff --git a/freebsd/lib/libc/resolv/h_errno.c b/freebsd/lib/libc/resolv/h_errno.c
index 74e98850..4902e22c 100644
--- a/freebsd/lib/libc/resolv/h_errno.c
+++ b/freebsd/lib/libc/resolv/h_errno.c
@@ -27,7 +27,7 @@
* $FreeBSD$
*/
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>
diff --git a/freebsd/lib/libc/resolv/herror.c b/freebsd/lib/libc/resolv/herror.c
index 67ddc51e..aea3a745 100644
--- a/freebsd/lib/libc/resolv/herror.c
+++ b/freebsd/lib/libc/resolv/herror.c
@@ -56,7 +56,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
#include "namespace.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/uio.h>
diff --git a/freebsd/lib/libc/resolv/res_comp.c b/freebsd/lib/libc/resolv/res_comp.c
index c31537e9..9b6ee369 100644
--- a/freebsd/lib/libc/resolv/res_comp.c
+++ b/freebsd/lib/libc/resolv/res_comp.c
@@ -74,7 +74,7 @@ static const char rcsid[] = "$Id: res_comp.c,v 1.5 2005/07/28 06:51:50 marka Exp
__FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
diff --git a/freebsd/lib/libc/resolv/res_data.c b/freebsd/lib/libc/resolv/res_data.c
index 47501f32..0ab7ed20 100644
--- a/freebsd/lib/libc/resolv/res_data.c
+++ b/freebsd/lib/libc/resolv/res_data.c
@@ -25,7 +25,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
#include <sys/time.h>
diff --git a/freebsd/lib/libc/resolv/res_debug.c b/freebsd/lib/libc/resolv/res_debug.c
index b8e68891..632aa666 100644
--- a/freebsd/lib/libc/resolv/res_debug.c
+++ b/freebsd/lib/libc/resolv/res_debug.c
@@ -100,7 +100,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
diff --git a/freebsd/lib/libc/resolv/res_init.c b/freebsd/lib/libc/resolv/res_init.c
index 7a5f07bd..75a8dff3 100644
--- a/freebsd/lib/libc/resolv/res_init.c
+++ b/freebsd/lib/libc/resolv/res_init.c
@@ -77,7 +77,7 @@ __FBSDID("$FreeBSD$");
#include "namespace.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
#include <sys/time.h>
diff --git a/freebsd/lib/libc/resolv/res_mkquery.c b/freebsd/lib/libc/resolv/res_mkquery.c
index eb4df45d..84800095 100644
--- a/freebsd/lib/libc/resolv/res_mkquery.c
+++ b/freebsd/lib/libc/resolv/res_mkquery.c
@@ -74,7 +74,7 @@ static const char rcsid[] = "$Id: res_mkquery.c,v 1.10 2008/12/11 09:59:00 marka
__FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
diff --git a/freebsd/lib/libc/resolv/res_mkupdate.c b/freebsd/lib/libc/resolv/res_mkupdate.c
index e486e31a..fade9356 100644
--- a/freebsd/lib/libc/resolv/res_mkupdate.c
+++ b/freebsd/lib/libc/resolv/res_mkupdate.c
@@ -31,7 +31,7 @@ __FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <netinet/in.h>
diff --git a/freebsd/lib/libc/resolv/res_query.c b/freebsd/lib/libc/resolv/res_query.c
index 5a5acef1..9dd8f186 100644
--- a/freebsd/lib/libc/resolv/res_query.c
+++ b/freebsd/lib/libc/resolv/res_query.c
@@ -74,7 +74,7 @@ static const char rcsid[] = "$Id: res_query.c,v 1.11 2008/11/14 02:36:51 marka E
__FBSDID("$FreeBSD$");
#include "port_before.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/freebsd/lib/libc/resolv/res_send.c b/freebsd/lib/libc/resolv/res_send.c
index 95038f7a..c39d8df9 100644
--- a/freebsd/lib/libc/resolv/res_send.c
+++ b/freebsd/lib/libc/resolv/res_send.c
@@ -84,7 +84,7 @@ __FBSDID("$FreeBSD$");
#endif
#include "namespace.h"
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/time.h>
#include <sys/socket.h>
diff --git a/freebsd/lib/libc/resolv/res_state.c b/freebsd/lib/libc/resolv/res_state.c
index 6c752207..a89b9b5e 100644
--- a/freebsd/lib/libc/resolv/res_state.c
+++ b/freebsd/lib/libc/resolv/res_state.c
@@ -27,7 +27,7 @@
* $FreeBSD$
*/
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>
diff --git a/freebsd/lib/libc/stdio/local.h b/freebsd/lib/libc/stdio/local.h
index 754476e9..a9994b5f 100644
--- a/freebsd/lib/libc/stdio/local.h
+++ b/freebsd/lib/libc/stdio/local.h
@@ -38,7 +38,7 @@
* $FreeBSD$
*/
-#include <rtems/bsd/sys/types.h> /* for off_t */
+#include <sys/types.h> /* for off_t */
#include <pthread.h>
#include <string.h>
#include <wchar.h>
diff --git a/freebsd/lib/libipsec/ipsec_dump_policy.c b/freebsd/lib/libipsec/ipsec_dump_policy.c
index a12727bc..301ed764 100644
--- a/freebsd/lib/libipsec/ipsec_dump_policy.c
+++ b/freebsd/lib/libipsec/ipsec_dump_policy.c
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
diff --git a/freebsd/lib/libipsec/ipsec_get_policylen.c b/freebsd/lib/libipsec/ipsec_get_policylen.c
index 81db0d7b..b9d5a101 100644
--- a/freebsd/lib/libipsec/ipsec_get_policylen.c
+++ b/freebsd/lib/libipsec/ipsec_get_policylen.c
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <netipsec/ipsec.h>
diff --git a/freebsd/lib/libipsec/ipsec_strerror.c b/freebsd/lib/libipsec/ipsec_strerror.c
index 3b442aed..9b4bc4a6 100644
--- a/freebsd/lib/libipsec/ipsec_strerror.c
+++ b/freebsd/lib/libipsec/ipsec_strerror.c
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <string.h>
diff --git a/freebsd/lib/libipsec/pfkey.c b/freebsd/lib/libipsec/pfkey.c
index c5a61128..c8ebfbf5 100644
--- a/freebsd/lib/libipsec/pfkey.c
+++ b/freebsd/lib/libipsec/pfkey.c
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
#include <net/pfkeyv2.h>
diff --git a/freebsd/lib/libipsec/pfkey_dump.c b/freebsd/lib/libipsec/pfkey_dump.c
index b03a6452..8c4d5213 100644
--- a/freebsd/lib/libipsec/pfkey_dump.c
+++ b/freebsd/lib/libipsec/pfkey_dump.c
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <rtems/bsd/sys/param.h>
#include <sys/socket.h>
#include <netipsec/ipsec.h>
diff --git a/freebsd/lib/libmemstat/memstat_all.c b/freebsd/lib/libmemstat/memstat_all.c
index 3d5a63e2..2e37b4e9 100644
--- a/freebsd/lib/libmemstat/memstat_all.c
+++ b/freebsd/lib/libmemstat/memstat_all.c
@@ -28,7 +28,7 @@
* $FreeBSD$
*/
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <sys/queue.h>
#include "memstat.h"
diff --git a/freebsd/lib/libutil/expand_number.c b/freebsd/lib/libutil/expand_number.c
index 6303c2b5..893a1d77 100644
--- a/freebsd/lib/libutil/expand_number.c
+++ b/freebsd/lib/libutil/expand_number.c
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <ctype.h>
#include <errno.h>
#include <inttypes.h>
diff --git a/freebsd/lib/libutil/humanize_number.c b/freebsd/lib/libutil/humanize_number.c
index 144589e4..da5c5197 100644
--- a/freebsd/lib/libutil/humanize_number.c
+++ b/freebsd/lib/libutil/humanize_number.c
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <rtems/bsd/sys/types.h>
+#include <sys/types.h>
#include <assert.h>
#include <inttypes.h>
#include <stdio.h>