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.c | |
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.c')
-rw-r--r-- | cpukit/libnetworking/rtems/mkrootfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/rtems/mkrootfs.c b/cpukit/libnetworking/rtems/mkrootfs.c index ccdebaf452..aaf670b6b1 100644 --- a/cpukit/libnetworking/rtems/mkrootfs.c +++ b/cpukit/libnetworking/rtems/mkrootfs.c @@ -36,10 +36,10 @@ #include <unistd.h> #include <sys/socket.h> #include <netinet/in.h> -#include <arpa/inet.h> #include <rtems/mkrootfs.h> #include <rtems/libio.h> +#include <rtems/endian.h> /* * A table a list of names and their modes. |