summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/netinet/in.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-30 13:23:59 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-31 13:18:54 +0100
commit24042643b3c7488b0cd66ce1ea910d1e43a72cde (patch)
tree22caac22aa5d40665419b0ca851b760ea6f739e1 /freebsd/sys/netinet/in.h
parentPING(8): Fix initialization and cleanup (diff)
downloadrtems-libbsd-24042643b3c7488b0cd66ce1ea910d1e43a72cde.tar.bz2
Revert superfluous changes
Diffstat (limited to 'freebsd/sys/netinet/in.h')
-rw-r--r--freebsd/sys/netinet/in.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/freebsd/sys/netinet/in.h b/freebsd/sys/netinet/in.h
index f38aaee2..c0bc26ec 100644
--- a/freebsd/sys/netinet/in.h
+++ b/freebsd/sys/netinet/in.h
@@ -35,7 +35,11 @@
#include <sys/cdefs.h>
#include <rtems/bsd/sys/_types.h>
+#ifndef __rtems__
+#include <machine/endian.h>
+#else /* __rtems__ */
#include <machine/rtems-bsd-endian.h>
+#endif /* __rtems__ */
/* Protocols common to RFC 1700, POSIX, and X/Open. */
#define IPPROTO_IP 0 /* dummy for IP */
@@ -786,9 +790,9 @@ void in_ifdetach(struct ifnet *);
/* INET6 stuff */
#if __POSIX_VISIBLE >= 200112
-#define __KAME_NETINET_IN_HH_INCLUDED_
+#define __KAME_NETINET_IN_H_INCLUDED_
#include <netinet6/in6.h>
-#undef __KAME_NETINET_IN_HH_INCLUDED_
+#undef __KAME_NETINET_IN_H_INCLUDED_
#endif
#endif /* !_NETINET_IN_H_*/