#include "target.h"
#include "gdb_string.h"
-#ifdef HAVE_WAIT_H
-#include <wait.h>
-#else
-#ifdef HAVE_SYS_WAIT_H
-#include <sys/wait.h>
-#endif
-#endif
-
-/* "wait.h" fills in the gaps left by <wait.h> */
-#include "wait.h" /* NOTE: This is ../include/wait.h */
+#include "gdb_wait.h"
#include "command.h"
#endif
#include <sys/param.h>
-#include <sys/dir.h>
+#include "gdb_dirent.h"
#include <signal.h>
#include <sys/ioctl.h>
#endif /* !FETCH_INFERIOR_REGISTERS */
#if !defined (CHILD_XFER_MEMORY)
-static void udot_info PARAMS ((char *, int));
+static void udot_info (char *, int);
#endif
#if !defined (FETCH_INFERIOR_REGISTERS)
-static void fetch_register PARAMS ((int));
-static void store_register PARAMS ((int));
+static void fetch_register (int);
+static void store_register (int);
#endif
/*
#define TIDGET(PID) 0
#endif
-void _initialize_kernel_u_addr PARAMS ((void));
-void _initialize_infptrace PARAMS ((void));
+void _initialize_kernel_u_addr (void);
+void _initialize_infptrace (void);
\f
/* This function simply calls ptrace with the given arguments.