commit 6db993320600ae0c1c2ad1d26cf48272577b0bff
parent 9da91a20895ac4efbbaa9768da654c3c2d9918e9
Author: Kyle Milz <krwmilz@gmail.com>
Date: Thu, 19 Aug 2021 19:55:48 +0000
assume vfork is available through unistd.h
Diffstat:
5 files changed, 0 insertions(+), 32 deletions(-)
diff --git a/dvi-draw.c b/dvi-draw.c
@@ -31,10 +31,6 @@ NOTE:
#include "dvi.h"
#include <ctype.h>
-#if HAVE_VFORK_H
-# include <vfork.h>
-#endif
-
# include <X11/StringDefs.h>
# include <X11/Xaw/Label.h>
diff --git a/font-open.c b/font-open.c
@@ -1790,16 +1790,6 @@ try_size(font, dpi, ret_path)
#define MKPK_DEFAULT_MODE "/"
#endif
-#if HAVE_GOOD_SETSID_VFORK
-# if HAVE_VFORK_H
-# include <vfork.h>
-# endif
-#else
- /* Mac OS X 10.3 (Panther) (11/2003) doesn't allow setsid() within vfork() */
-# undef vfork
-# define vfork fork
-#endif
-
#ifndef EXIT_SUCCESS
#define EXIT_SUCCESS 0
#endif
diff --git a/popups.c b/popups.c
@@ -56,16 +56,6 @@ IN THE SOFTWARE.
#include <stdarg.h>
-#if HAVE_GOOD_SETSID_VFORK
-# if HAVE_VFORK_H
-# include <vfork.h>
-# endif
-#else
- /* Mac OS X 10.3 (Panther) (11/2003) doesn't allow setsid() within vfork() */
-# undef vfork
-# define vfork fork
-#endif
-
#if HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif
diff --git a/psgs.c b/psgs.c
@@ -46,10 +46,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define XIO_IN POLLIN
#define XIO_OUT POLLOUT
-#if HAVE_VFORK_H
-# include <vfork.h>
-#endif
-
#ifndef GS_TIMEOUT
# define GS_TIMEOUT 1000 /* milliseconds */
#endif
diff --git a/special.c b/special.c
@@ -63,10 +63,6 @@ extern double floor(double);
#define rint(x) floor((x) + 0.5)
#if PS
-# if HAVE_VFORK_H
-# include <vfork.h>
-# endif
-
# include <errno.h>
# if HAVE_SYS_WAIT_H