summaryrefslogtreecommitdiff
path: root/mail/majordomo/patches/patch-ak
blob: 3cec244824121b78ea26144971781b3ddf93e2f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ak,v 1.3 2000/02/05 19:51:44 wiz Exp $
--- wrapper.c.orig	Sat Nov 27 17:43:56 1999
+++ wrapper.c	Sat Nov 27 17:45:54 1999
@@ -16,10 +16,14 @@
 #include <stdio.h>
 #include <sysexits.h>
 
-#if defined(sun) && defined(sparc)
+#if (defined(sun) && defined(sparc)) || defined(__NetBSD__)
 #include <stdlib.h>
 #endif
 
+#ifdef __NetBSD__
+#include <sys/types.h>
+#include <unistd.h>
+#endif
 
 #ifndef STRCHR
 #  include <string.h>