summaryrefslogtreecommitdiff
path: root/mail/pgpsendmail/files/patch-conn_to_pgpd.c
blob: 7b4654fdd6bd8b355875492d39607d78a2287c90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- conn_to_pgpd.c.orig	1994-12-03 12:51:16.000000000 +0900
+++ conn_to_pgpd.c	2012-10-24 16:02:51.000000000 +0900
@@ -55,6 +55,8 @@
 #include <signal.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/uio.h>
+#include <unistd.h>
 #include <fcntl.h>
 #include "pgpsendmail.h"
 
@@ -96,7 +98,9 @@
     char topipe_filename[STRING_LENGTH];
     char frompipe_filename[STRING_LENGTH];
     ERRNO_TYPE errno;
+#if 0
     extern char *sys_errlist[];
+#endif
 
     if (gethostname (hostname, STRING_LENGTH - 1) != 0)
     {