$OpenBSD: patch-libraries_process_include_runProcess_h,v 1.5 2021/03/10 01:33:40 gnezdo Exp $

vfork is for terrorists

Index: libraries/process/include/runProcess.h
--- libraries/process/include/runProcess.h.orig
+++ libraries/process/include/runProcess.h
@@ -30,18 +30,7 @@
 #include <fcntl.h>
 #endif
 
-#ifdef HAVE_VFORK_H
-#include <vfork.h>
-#endif
-
-#if defined(HAVE_WORKING_VFORK)
-#define myfork vfork
-#elif defined(HAVE_WORKING_FORK)
 #define myfork fork
-// We don't need a fork command on Windows
-#elif !(defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32))
-#error Cannot find a working fork command
-#endif
 
 #ifdef HAVE_SIGNAL_H
 #include <signal.h>
