From 15eda3d33f9e1160d438d370acd442ef3dbba63f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 19 Feb 2019 14:54:44 +0000 Subject: Add DragonFly macro; remove nbwaitall and ancilautoclose --- src/libunixonacid/textclient_server_init_fromsocket.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/libunixonacid/textclient_server_init_fromsocket.c') diff --git a/src/libunixonacid/textclient_server_init_fromsocket.c b/src/libunixonacid/textclient_server_init_fromsocket.c index 5b71463..e58df2b 100644 --- a/src/libunixonacid/textclient_server_init_fromsocket.c +++ b/src/libunixonacid/textclient_server_init_fromsocket.c @@ -1,6 +1,5 @@ /* ISC license. */ -#include #include #include #include @@ -60,9 +59,7 @@ static int sendit (void *p) do r = sendmsg(fd[0], &hdr, MSG_NOSIGNAL) ; while (r < 0 && errno == EINTR) ; if (r <= 0) return 0 ; -#ifndef SKALIBS_HASANCILAUTOCLOSE fd_close(fd[1]) ; -#endif return 1 ; } -- cgit v1.3.1