aboutsummaryrefslogtreecommitdiff
path: root/gdb/proc-api.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/proc-api.c
parent44270758cd8e51b26d4bf8c58f2d69f27225a71f (diff)
downloadgdb-2555fe1a4feb03dd0d7c32a51eb049b6fc265aec.zip
gdb-2555fe1a4feb03dd0d7c32a51eb049b6fc265aec.tar.gz
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/proc-api.c')
-rw-r--r--gdb/proc-api.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/proc-api.c b/gdb/proc-api.c
index 3e8b198..2d4fe81 100644
--- a/gdb/proc-api.c
+++ b/gdb/proc-api.c
@@ -1,5 +1,7 @@
/* Machine independent support for SVR4 /proc (process file system) for GDB.
- Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ Copyright 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
+
Written by Michael Snyder at Cygnus Solutions.
Based on work by Fred Fish, Stu Grossman, Geoff Noer, and others.
@@ -43,7 +45,7 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <sys/user.h> /* for struct user */
#endif
#include <fcntl.h> /* for O_RDWR etc. */
-#include <sys/wait.h>
+#include "gdb_wait.h"
#include "proc-utils.h"