HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/math/vampire/files/patch-Lib_System.cpp
--- Lib/System.cpp.orig	2018-12-01 20:15:38 UTC
+++ Lib/System.cpp
@@ -27,9 +27,13 @@
 #include <stdlib.h>
 #  include <unistd.h>
 #  if !__APPLE__ && !__CYGWIN__
-#    include <sys/prctl.h>
+//#    include <sys/prctl.h>
 #  endif
 
+#if defined (__FreeBSD__)
+#include <sys/wait.h>
+#endif
+
 #include <dirent.h>
 
 #include <cerrno>
@@ -360,7 +364,7 @@ void System::terminateImmediately(int re
  */
 void System::registerForSIGHUPOnParentDeath()
 {
-#if __APPLE__ || __CYGWIN__
+#if __APPLE__ || __CYGWIN__ || __FreeBSD__
   // cerr<<"Death of parent process not being handled on Mac and Windows"<<endl;
   // NOT_IMPLEMENTED;
 #else