summaryrefslogtreecommitdiff
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
commitda93c6508711f3ea1c4e4a6ff1602c79effbf29b (patch)
tree4aa431ea750cacbd505a9e1462a51b1abc96150c /gdb/proc-api.c
parent81116133d4494fac4bc27e33615961faf085b36d (diff)
downloadgdb-da93c6508711f3ea1c4e4a6ff1602c79effbf29b.tar.gz
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 3e8b19841ac..2d4fe814c94 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"