From bc9b24876b41077e567655ccbc6011f4be951f0d Mon Sep 17 00:00:00 2001 From: Niels Provos Date: Mon, 4 Apr 2005 00:10:17 +0000 Subject: [PATCH] make it compile on solaris svn:r142 --- evbuffer.c | 1 - select.c | 1 - test/regress.c | 5 ++--- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/evbuffer.c b/evbuffer.c index 380a474d..1d7c263b 100644 --- a/evbuffer.c +++ b/evbuffer.c @@ -35,7 +35,6 @@ #include #endif -#include #include #include #include diff --git a/select.c b/select.c index 65fca235..b70a780c 100644 --- a/select.c +++ b/select.c @@ -44,7 +44,6 @@ #include #include #include -#include #include "event.h" #include "event-internal.h" diff --git a/test/regress.c b/test/regress.c index ebab6cc5..ce47d225 100644 --- a/test/regress.c +++ b/test/regress.c @@ -49,7 +49,6 @@ #include #include #include -#include #include @@ -245,10 +244,10 @@ setup_test(char *name) #ifdef HAVE_FCNTL if (fcntl(pair[0], F_SETFL, O_NONBLOCK) == -1) - warn("fcntl(O_NONBLOCK)"); + fprintf(stderr, "fcntl(O_NONBLOCK)"); if (fcntl(pair[1], F_SETFL, O_NONBLOCK) == -1) - warn("fcntl(O_NONBLOCK)"); + fprintf(stderr, "fcntl(O_NONBLOCK)"); #endif test_ok = 0; -- 2.40.0