aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-vax.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-01-31 08:49:34 +0000
committerJohn Gilmore <gnu@cygnus>1992-01-31 08:49:34 +0000
commit287f81eb64be5ef0e808b6022e45f15cfcb37d9c (patch)
tree37c5d40e0a5c823e04729d545e7604dd6697f50c /gdb/xm-vax.h
parent8c378559226f751d802dd806f6eb1a83c67617a7 (diff)
downloadgdb-287f81eb64be5ef0e808b6022e45f15cfcb37d9c.zip
gdb-287f81eb64be5ef0e808b6022e45f15cfcb37d9c.tar.gz
gdb-287f81eb64be5ef0e808b6022e45f15cfcb37d9c.tar.bz2
* xm-vax.h: Include some system include files before our own
definitions in defs.h.
Diffstat (limited to 'gdb/xm-vax.h')
-rw-r--r--gdb/xm-vax.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/xm-vax.h b/gdb/xm-vax.h
index 9da7306..ebe2b9d 100644
--- a/gdb/xm-vax.h
+++ b/gdb/xm-vax.h
@@ -17,6 +17,11 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+/* We have to include these files now, so that GDB will not make
+ competing definitions in defs.h. */
+#include <machine/endian.h>
+#include <machine/limits.h>
+
#define HOST_BYTE_ORDER LITTLE_ENDIAN
/* Get rid of any system-imposed stack limit if possible. */