summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems/mkrootfs.h
diff options
context:
space:
mode:
authorChristian Mauderer <Christian.Mauderer@embedded-brains.de>2016-06-24 08:52:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-28 13:10:01 +0200
commit4c02385d8fa3110e4208e2cb8cb2d04d630cf85e (patch)
treeb25d3f48b8f34ff627b9d156c9c10e9391a46f3c /cpukit/libnetworking/rtems/mkrootfs.h
parentlibnetworking: Import current <netinet/in.h> (diff)
downloadrtems-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.h2
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>