diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-09 13:12:45 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-09 13:12:45 +0000 |
commit | 9e7678d2afca1621e470e0474bf237ff6117c7a1 (patch) | |
tree | 5a8ee8134a575b0987f7dbb6b8765dda95adb2da /cpukit/libnetworking/sys | |
parent | socklen_t. (diff) | |
download | rtems-9e7678d2afca1621e470e0474bf237ff6117c7a1.tar.bz2 |
Partial update from FreeBSD.
Diffstat (limited to 'cpukit/libnetworking/sys')
-rw-r--r-- | cpukit/libnetworking/sys/socket.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libnetworking/sys/socket.h b/cpukit/libnetworking/sys/socket.h index e0bc0d7162..31213eda51 100644 --- a/cpukit/libnetworking/sys/socket.h +++ b/cpukit/libnetworking/sys/socket.h @@ -38,7 +38,7 @@ #define _SYS_SOCKET_H_ #include <sys/cdefs.h> -#include <sys/types.h> +#include <rtems/bsdnet/_types.h> /* * Definitions related to sockets: types, address families, options. @@ -49,12 +49,12 @@ */ #ifndef _SA_FAMILY_T_DECLARED -typedef unsigned char sa_family_t; +typedef __sa_family_t sa_family_t; #define _SA_FAMILY_T_DECLARED #endif #ifndef _SOCKLEN_T_DECLARED -typedef int socklen_t; +typedef __socklen_t socklen_t; #define _SOCKLEN_T_DECLARED #endif |