aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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