diff options
author | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2016-06-24 08:52:48 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-28 13:10:01 +0200 |
commit | 4c02385d8fa3110e4208e2cb8cb2d04d630cf85e (patch) | |
tree | b25d3f48b8f34ff627b9d156c9c10e9391a46f3c /cpukit/libnetworking/rtems/mkrootfs.h | |
parent | libnetworking: Import current <netinet/in.h> (diff) | |
download | rtems-4c02385d8fa3110e4208e2cb8cb2d04d630cf85e.tar.bz2 |
libnetworking: Import current <arpa/inet.h>
Import the <arpa/inet.h> from current FreeBSD. Necessary due to changes
in <netinet/in.h>. Remove BSD hack from <arpa/inet.h>.
Clean up problems with htonl(). These functions are defined in
<arpa/inet.h>. This lead to some problems because they are defined in
<rtems/endian.h> too. Add NTOHL, ... to
<rtems/rtems_bsdnet_internal.h>.
Diffstat (limited to 'cpukit/libnetworking/rtems/mkrootfs.h')
-rw-r--r-- | cpukit/libnetworking/rtems/mkrootfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/rtems/mkrootfs.h b/cpukit/libnetworking/rtems/mkrootfs.h index 648b71197b..8bd443693b 100644 --- a/cpukit/libnetworking/rtems/mkrootfs.h +++ b/cpukit/libnetworking/rtems/mkrootfs.h @@ -21,7 +21,7 @@ #ifndef _RTEMS_MKROOTFS_H #define _RTEMS_MKROOTFS_H -#include <arpa/inet.h> /* in_addr_t */ +#include <sys/types.h> /* in_addr_t */ #include <rtems.h> |