aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-04-19 17:28:32 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-04-19 17:28:32 +0000
commitc1ace5b59644a8e2fe72883aea1c3df9ce372b4c (patch)
tree5cf22f81444d2c5972d2b356905d6916731b1a3f /gdb/defs.h
parentc93a350722500593dffe960f89c8e7cded819540 (diff)
downloadgdb-c1ace5b59644a8e2fe72883aea1c3df9ce372b4c.zip
gdb-c1ace5b59644a8e2fe72883aea1c3df9ce372b4c.tar.gz
gdb-c1ace5b59644a8e2fe72883aea1c3df9ce372b4c.tar.bz2
* Makefile.dist (cplus-dem.o): Hack in an #include "param.h"
before we compile it. defs.h: Protect against multiple inclusion. param.h: Include defs.h.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 51a46b4..57635f1 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
along with GDB; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+#if !defined (DEFS_H)
+#define DEFS_H
+
/* An address in the program being debugged. Host byte order. */
typedef unsigned int CORE_ADDR;
@@ -171,3 +174,5 @@ char *baud_rate;
#if !defined (TARGET_CHAR_BIT)
#define TARGET_CHAR_BIT 8
#endif
+
+#endif /* no DEFS_H */