Replace ../include/wait.h with gdb_wait.h.
[deliverable/binutils-gdb.git] / gdb / go32-nat.c
index dae434399887f19c3e491c1812bf20627498d840..ae323b657ba3c3b4821fa126e9ada2830e5d7244 100644 (file)
@@ -25,7 +25,7 @@
 #include "frame.h"             /* required by inferior.h */
 #include "inferior.h"
 #include "target.h"
-#include "wait.h"
+#include "gdb_wait.h"
 #include "gdbcore.h"
 #include "command.h"
 #include "floatformat.h"
@@ -692,7 +692,7 @@ go32_create_inferior (char *exec_file, char *args, char **env)
        error ("Syntax error in command line.");
     }
   else
-    child_cmd.command = strdup (args);
+    child_cmd.command = xstrdup (args);
 
   cmdline = (char *) alloca (strlen (args) + 4);
   cmdline[0] = strlen (args);
This page took 0.023358 seconds and 4 git commands to generate.