summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/netinet/in.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-05-09 13:12:45 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-05-09 13:12:45 +0000
commit9e7678d2afca1621e470e0474bf237ff6117c7a1 (patch)
tree5a8ee8134a575b0987f7dbb6b8765dda95adb2da /cpukit/libnetworking/netinet/in.h
parentsocklen_t. (diff)
downloadrtems-9e7678d2afca1621e470e0474bf237ff6117c7a1.tar.bz2
Partial update from FreeBSD.
Diffstat (limited to 'cpukit/libnetworking/netinet/in.h')
-rw-r--r--cpukit/libnetworking/netinet/in.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libnetworking/netinet/in.h b/cpukit/libnetworking/netinet/in.h
index f75f4c0bb1..1c7786b4b9 100644
--- a/cpukit/libnetworking/netinet/in.h
+++ b/cpukit/libnetworking/netinet/in.h
@@ -37,6 +37,7 @@
#ifndef _NETINET_IN_H_
#define _NETINET_IN_H_
+#include <rtems/bsdnet/_types.h>
#include <machine/endian.h>
/* Protocols common to RFC 1700, POSIX, and X/Open. */
@@ -54,7 +55,7 @@ typedef uint16_t in_port_t;
#endif
#ifndef _SA_FAMILY_T_DECLARED
-typedef unsigned char sa_family_t;
+typedef __sa_family_t sa_family_t;
#define _SA_FAMILY_T_DECLARED
#endif