aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-03-17 01:08:19 +0000
committerFred Fish <fnf@specifix.com>1996-03-17 01:08:19 +0000
commitd58ffc6cc6c304e25d46536469701a20cb67180f (patch)
tree63bc0cdbf62519c41972ccf27af5428274a86792
parentbfcf3112c421c372e123bbb789bab8ef98eb4e99 (diff)
downloadgdb-d58ffc6cc6c304e25d46536469701a20cb67180f.zip
gdb-d58ffc6cc6c304e25d46536469701a20cb67180f.tar.gz
gdb-d58ffc6cc6c304e25d46536469701a20cb67180f.tar.bz2
* i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
-rw-r--r--gdb/ChangeLog1
-rw-r--r--gdb/i386v4-nat.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 612530b..a22fc65 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -9,6 +9,7 @@ Sat Mar 16 16:45:43 1996 Fred Fish <fnf@cygnus.com>
(config.h, stamp-h): New targets to remake config.h when necessary.
* defs.h (config.h): Include before any other includes or defines.
* i386-tdep.c (gdb_string.h): Move include after include of defs.h.
+ * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
Sat Mar 16 14:55:27 1996 Fred Fish <fnf@cygnus.com>
diff --git a/gdb/i386v4-nat.c b/gdb/i386v4-nat.c
index 5febaf7..98f7365 100644
--- a/gdb/i386v4-nat.c
+++ b/gdb/i386v4-nat.c
@@ -17,9 +17,10 @@ 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#include "defs.h"
+
#ifdef HAVE_SYS_PROCFS_H
-#include "defs.h"
#include <sys/procfs.h>
/* The /proc interface divides the target machine's register set up into