aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-02-07 04:49:34 +0000
committerAndrew Cagney <cagney@redhat.com>2003-02-07 04:49:34 +0000
commit2555fe1a4feb03dd0d7c32a51eb049b6fc265aec (patch)
tree68087274394f835138fc3bd477befa1bd4dceabb /gdb/procfs.c
parent44270758cd8e51b26d4bf8c58f2d69f27225a71f (diff)
downloadfsf-binutils-gdb-2555fe1a4feb03dd0d7c32a51eb049b6fc265aec.zip
fsf-binutils-gdb-2555fe1a4feb03dd0d7c32a51eb049b6fc265aec.tar.gz
fsf-binutils-gdb-2555fe1a4feb03dd0d7c32a51eb049b6fc265aec.tar.bz2
2003-02-06 Andrew Cagney <ac131313@redhat.com>
* Makefile.in (symm-nat.o): Update dependencies. (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. (lynx-nat.o, ia64-linux-nat.): Ditto. * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 969bbcb..2f14c5d 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -1,5 +1,8 @@
/* Machine independent support for SVR4 /proc (process file system) for GDB.
- Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+
+ Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
+ Inc.
+
Written by Michael Snyder at Cygnus Solutions.
Based on work by Fred Fish, Stu Grossman, Geoff Noer, and others.
@@ -39,7 +42,7 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <sys/syscall.h>
#endif
#include <sys/errno.h>
-#include <sys/wait.h>
+#include "gdb_wait.h"
#include <signal.h>
#include <ctype.h>
#include "gdb_assert.h"