summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-07-11 17:35:10 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-07-11 17:35:10 -0500
commit822aae2c915a4ba29f994bc82f3b959544c5a817 (patch)
tree1be3b8f1d6277bfdcaef633a3171f5bc429157b6
parentAdd _XXX_ENDIAN constants (diff)
downloadrtems-libbsd-822aae2c915a4ba29f994bc82f3b959544c5a817.tar.bz2
arpa/nameser*.h: Reneable BIND_4_COMPAT and include FreeBSD endian.h
-rw-r--r--freebsd-userspace/include/arpa/nameser.h2
-rw-r--r--freebsd-userspace/include/arpa/nameser_compat.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/freebsd-userspace/include/arpa/nameser.h b/freebsd-userspace/include/arpa/nameser.h
index 30b538ee..ce2f2e06 100644
--- a/freebsd-userspace/include/arpa/nameser.h
+++ b/freebsd-userspace/include/arpa/nameser.h
@@ -58,7 +58,7 @@
/*! \file */
-/* #define BIND_4_COMPAT */
+#define BIND_4_COMPAT
#include <sys/param.h>
#include <sys/types.h>
diff --git a/freebsd-userspace/include/arpa/nameser_compat.h b/freebsd-userspace/include/arpa/nameser_compat.h
index 64d05f82..c7c5b95a 100644
--- a/freebsd-userspace/include/arpa/nameser_compat.h
+++ b/freebsd-userspace/include/arpa/nameser_compat.h
@@ -41,7 +41,7 @@
#define __BIND 19950621 /*%< (DEAD) interface version stamp. */
-#include <machine/endian.h>
+#include <freebsd/machine/endian.h>
#if !defined(_BYTE_ORDER) || \
(_BYTE_ORDER != _BIG_ENDIAN && _BYTE_ORDER != _LITTLE_ENDIAN && \