Cleanup autoconfigury of vfork().
[deliverable/binutils-gdb.git] / gdb / ser-pipe.c
index 9c915b0853a601ddaef29a753f0b22ea38a31cf0..a172e7105829fe64a097699eec08656ff3b1f1a7 100644 (file)
@@ -24,6 +24,8 @@
 #include "serial.h"
 #include "ser-unix.h"
 
+#include "gdb_vfork.h"
+
 #include <sys/types.h>
 #include "gdb_wait.h"
 #include <sys/socket.h>
@@ -64,11 +66,7 @@ pipe_open (serial_t scb, const char *name)
   if (socketpair (AF_UNIX, SOCK_STREAM, 0, pdes) < 0)
     return -1;
 
-#ifdef HAVE_VFORK
   pid = vfork ();
-#else
-  pid = fork ();
-#endif
   
   /* Error. */
   if (pid == -1)
This page took 0.024778 seconds and 4 git commands to generate.