pkgsrc/shells/es/patches/patch-af
joerg 1aea045b09 Fix build on amd64. I'm taking the aggressive approach of using va_copy
here, the #if can be easily modified for those platforms missing it.
2008-09-19 20:02:23 +00:00

26 lines
450 B
Text

$NetBSD: patch-af,v 1.2 2008/09/19 20:02:23 joerg Exp $
--- config.h.orig 1995-05-30 13:13:53.000000000 +0200
+++ config.h
@@ -378,6 +378,15 @@
#endif
#endif
+#ifdef __INTERIX
+#ifndef USE_WAIT3
+#define USE_WAIT3 0
+#endif
+#ifndef USE_SIGACTION
+#define USE_SIGACTION 1
+#endif
+#endif
+
/*
* default defaults -- don't change this section
@@ -533,3 +542,5 @@
#undef SYSV_SIGNALS
#define SYSV_SIGNALS 0
#endif
+
+#include <stdlib.h>