summary refs log tree commit diff
path: root/curtis
diff options
context:
space:
mode:
Diffstat (limited to 'curtis')
-rwxr-xr-xcurtis/.bin/dtch.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/curtis/.bin/dtch.c b/curtis/.bin/dtch.c
index ac7164fd..2c19e1d2 100755
--- a/curtis/.bin/dtch.c
+++ b/curtis/.bin/dtch.c
@@ -1,7 +1,7 @@
 #if 0
 set -e
 bin=$(dirname $0)
-cc -Wall -Wextra -pedantic $@ -o $bin/dtch $0
+cc -Wall -Wextra -pedantic $@ -lutil -o $bin/dtch $0
 ln -f $bin/dtch $bin/atch
 exit
 #endif
@@ -22,7 +22,14 @@ exit
 #include <sysexits.h>
 #include <termios.h>
 #include <unistd.h>
+
+#if defined __FreeBSD__
+#include <libutil.h>
+#elif defined __linux__
+#include <pty.h>
+#else
 #include <util.h>
+#endif
 
 static struct passwd *getUser(void) {
     uid_t uid = getuid();
y/libretls/distinfo?id=749758e9d444fc51f68260ad3ca838e725c835af&follow=1'>Update libretls to 3.3.1June McEnroe 2020-12-15Update catsit to 1.1June McEnroe 2020-12-15Update pounce to 2.1p1June McEnroe 2020-12-15Add imbox portJune McEnroe 2020-11-24Update pounce to 2.1June McEnroe 2020-11-24Update libretls to 3.3.0June McEnroe 2020-11-17Update catgirl to 1.3June McEnroe 2020-11-17Update libretls to 3.2.2June McEnroe 2020-09-29Update libretls to 3.2.1June McEnroe 2020-09-10Update catgirl to 1.2June McEnroe 2020-09-09Add pounce-palaver portJune McEnroe 2020-09-09Update pounce to 2.0June McEnroe 2020-09-09Update litterbox to 1.6June McEnroe 2020-08-23Add scooper portJune McEnroe 2020-08-23Add catsit portJune McEnroe 2020-08-13Update pounce to 1.4p2June McEnroe 2020-08-11Update pounce to 1.4p1June McEnroe 2020-08-10Add litterbox portJune McEnroe 2020-08-10Add missing USES=pkgconfig to pounceJune McEnroe