summaryrefslogtreecommitdiff
path: root/mail/majordomo/patches/patch-ak
blob: 56d24fca249e4f54cb596b2108863c66421bee64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD
--- 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>