diff options
Diffstat (limited to 'mail/pgpsendmail/files/patch-spawn.c')
-rw-r--r-- | mail/pgpsendmail/files/patch-spawn.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/pgpsendmail/files/patch-spawn.c b/mail/pgpsendmail/files/patch-spawn.c new file mode 100644 index 000000000000..7af6f8be37ee --- /dev/null +++ b/mail/pgpsendmail/files/patch-spawn.c @@ -0,0 +1,21 @@ +--- spawn.c.orig 1994-12-03 15:02:30.000000000 +0900 ++++ spawn.c 2012-10-24 15:59:57.000000000 +0900 +@@ -49,6 +49,8 @@ + + */ + #include <stdio.h> ++#include <sys/types.h> ++#include <unistd.h> + #include "pgpsendmail.h" + + +@@ -79,7 +81,9 @@ + int child_pid; + int in_fds[2], out_fds[2], err_fds[2]; + ERRNO_TYPE errno; ++#if 0 + extern char *sys_errlist[]; ++#endif + + if (*in_fd < 0) + { |