]> git.cameronkatri.com Git - apple_cmds.git/commitdiff
mail_cmds: use libiosexec
authorCameron Katri <me@cameronkatri.com>
Thu, 13 May 2021 18:37:30 +0000 (14:37 -0400)
committerCameron Katri <me@cameronkatri.com>
Thu, 13 May 2021 19:16:03 +0000 (15:16 -0400)
mail_cmds/mail/Makefile
mail_cmds/mail/popen.c
mail_cmds/mail/send.c

index 5e3872fd27eb2db57ff615941e43565263150d20..c516dff6c91924b7cae4f743082f2730bb206dd4 100644 (file)
@@ -14,6 +14,8 @@ LINKS=        ${BINDIR}/mail ${BINDIR}/Mail ${BINDIR}/mail ${BINDIR}/mailx
 MAN=   mail.1 mailx.1
 MLINKS=        mail.1 Mail.1
 
+LDADD+=-liosexec
+
 .PATH: ${.CURDIR}/misc
 
 etc-mailrc:
index 979a76f7019f5785f8145747b06dbfdb6996f31c..f3b3a048a89a80d234f0b144ff4758be31a8155c 100644 (file)
@@ -46,6 +46,8 @@ static const char rcsid[] =
 #include <fcntl.h>
 #include "extern.h"
 
+#include <libiosexec.h>
+
 #define READ 0
 #define WRITE 1
 
index 466bd6553afb53785ea15f26a102df2e94262c73..99c4ddfdec29793f9188d5f68fcc6d008065ed74 100644 (file)
@@ -44,6 +44,8 @@ static const char rcsid[] =
 #include "rcv.h"
 #include "extern.h"
 
+#include <libiosexec.h>
+
 /*
  * Mail -- a mail program
  *