aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386v4-nat.c
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>1998-08-19 22:57:00 +0000
committerAnthony Green <green@redhat.com>1998-08-19 22:57:00 +0000
commit9ca743cf2f4ff7aeaf99f9bd558433d2833ba35d (patch)
tree68b7113106a80409902d7841d6da3d6f498dae55 /gdb/i386v4-nat.c
parentb49867b644a60b075c336799298134ec14fb6ef3 (diff)
downloadgdb-9ca743cf2f4ff7aeaf99f9bd558433d2833ba35d.zip
gdb-9ca743cf2f4ff7aeaf99f9bd558433d2833ba35d.tar.gz
gdb-9ca743cf2f4ff7aeaf99f9bd558433d2833ba35d.tar.bz2
* i386v4-nat.c: Include sys/reg.h if present.
Diffstat (limited to 'gdb/i386v4-nat.c')
-rw-r--r--gdb/i386v4-nat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/i386v4-nat.c b/gdb/i386v4-nat.c
index 3882ac7..965f632 100644
--- a/gdb/i386v4-nat.c
+++ b/gdb/i386v4-nat.c
@@ -19,6 +19,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "defs.h"
+#ifdef HAVE_SYS_REG_H
+#include <sys/reg.h>
+#endif
+
#ifdef HAVE_SYS_PROCFS_H
#include <sys/procfs.h>