#include "bfd.h"
#include "symfile.h"
#include "objfiles.h"
+#include "target.h"
#include <sys/types.h>
#include <sys/time.h>
#include <sys/param.h>
static sigset_t nullsigmask = {0};
if (!energize)
-#ifdef USE_PROC_FS
- return proc_wait (status);
-#else
- return wait(status);
-#endif
+ return target_wait(status);
#ifdef NCR486
action.sa_handler = iosig;
signal(SIGIO, iosig);
#endif
-#ifdef USE_PROC_FS
- pid = proc_wait (status);
-#else
- pid = wait(status);
-#endif
+ pid = target_wait(status);
signal(SIGIO, SIG_IGN);
return pid;