aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-02-10 04:53:26 +0000
committerAndrew Cagney <cagney@redhat.com>2000-02-10 04:53:26 +0000
commit203051afdeff1e81f8c4e9f754753b8ae68dca0b (patch)
tree0ff5bd7fec046da592bc548282d4f14ff1b8e350 /gdb
parent4bd6cdc5216e27d924d84fbf46f8d96b7eba2044 (diff)
downloadgdb-203051afdeff1e81f8c4e9f754753b8ae68dca0b.zip
gdb-203051afdeff1e81f8c4e9f754753b8ae68dca0b.tar.gz
gdb-203051afdeff1e81f8c4e9f754753b8ae68dca0b.tar.bz2
From Mark Kettenis: Re-order #includes. defs.h is always first.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/linux-thread.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 22e0b01..dce58ac 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2000-02-09 Mark Kettenis <kettenis@gnu.org>
+
+ * linux-thread.c: Include defs.h before gdb_wait.h.
+
Wed Feb 9 18:59:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (wait_h): Delete macro. Update all dependencies
diff --git a/gdb/linux-thread.c b/gdb/linux-thread.c
index 8722f14..dc91edf 100644
--- a/gdb/linux-thread.c
+++ b/gdb/linux-thread.c
@@ -47,13 +47,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
linuxthreads package heavily relies on wait() synchronization to keep
them correct. */
+#include "defs.h"
#include <sys/types.h> /* for pid_t */
#include <sys/ptrace.h> /* for PT_* flags */
#include "gdb_wait.h" /* for WUNTRACED and __WCLONE flags */
#include <signal.h> /* for struct sigaction and NSIG */
#include <sys/utsname.h>
-#include "defs.h"
#include "target.h"
#include "inferior.h"
#include "gdbcore.h"