From: Andrew Cagney Date: Thu, 10 Feb 2000 04:53:26 +0000 (+0000) Subject: From Mark Kettenis: Re-order #includes. defs.h is always first. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=203051afdeff1e81f8c4e9f754753b8ae68dca0b;p=binutils-gdb.git From Mark Kettenis: Re-order #includes. defs.h is always first. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 22e0b01019e..dce58ac3308 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2000-02-09 Mark Kettenis + + * linux-thread.c: Include defs.h before gdb_wait.h. + Wed Feb 9 18:59:16 2000 Andrew Cagney * Makefile.in (wait_h): Delete macro. Update all dependencies diff --git a/gdb/linux-thread.c b/gdb/linux-thread.c index 8722f146b92..dc91edf6a1c 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 /* for pid_t */ #include /* for PT_* flags */ #include "gdb_wait.h" /* for WUNTRACED and __WCLONE flags */ #include /* for struct sigaction and NSIG */ #include -#include "defs.h" #include "target.h" #include "inferior.h" #include "gdbcore.h"