aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 0aaac1d..ce36938 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -706,6 +706,10 @@ extern char *strerror ();
/* HOST_BYTE_ORDER must be defined to one of these. */
+#ifdef HAVE_ENDIAN_H
+#include <endian.h>
+#endif
+
#if !defined (BIG_ENDIAN)
#define BIG_ENDIAN 4321
#endif