]> git.cameronkatri.com Git - apple_cmds.git/commitdiff
text_cmds: use libiosexec
authorCameron Katri <me@cameronkatri.com>
Thu, 13 May 2021 19:13:08 +0000 (15:13 -0400)
committerCameron Katri <me@cameronkatri.com>
Thu, 13 May 2021 19:16:07 +0000 (15:16 -0400)
text_cmds/ee/Makefile
text_cmds/ee/ee.c

index c870b404f0466bfac1e4091fa910a30d08bc423b..4c7cfd7baf359f4c7de4fba2df2a46f98f66c35d 100644 (file)
@@ -6,6 +6,6 @@ CFLAGS+= -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
 PROG=  ee
 LINKS= ${BINDIR}/ee ${BINDIR}/ree ${BINDIR}/ee ${BINDIR}/edit
 MLINKS=        ee.1 ree.1 ee.1 edit.1
-LDADD+=-lncursesw
+LDADD+=-lncursesw -liosexec
 
 .include <bsd.prog.mk>
index 70a44076f88209d0819ab4c3f216336f03371862..211f4d656f20d3ff49e72bddb6bfbd9c7f7e42d9 100644 (file)
@@ -82,6 +82,8 @@ char *version = "@(#) ee, version "  EE_VERSION  " $Revision: 1.104 $";
 #include <pwd.h>
 #include <locale.h>
 
+#include <libiosexec.h>
+
 #ifdef HAS_SYS_WAIT
 #include <sys/wait.h>
 #endif