mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 12:28:19 -04:00
make it compile on solaris
svn:r142
This commit is contained in:
parent
1e128e2d05
commit
bc9b24876b
@ -35,7 +35,6 @@
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <err.h>
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
1
select.c
1
select.c
@ -44,7 +44,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <err.h>
|
|
||||||
|
|
||||||
#include "event.h"
|
#include "event.h"
|
||||||
#include "event-internal.h"
|
#include "event-internal.h"
|
||||||
|
@ -49,7 +49,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <err.h>
|
|
||||||
|
|
||||||
#include <event.h>
|
#include <event.h>
|
||||||
|
|
||||||
@ -245,10 +244,10 @@ setup_test(char *name)
|
|||||||
|
|
||||||
#ifdef HAVE_FCNTL
|
#ifdef HAVE_FCNTL
|
||||||
if (fcntl(pair[0], F_SETFL, O_NONBLOCK) == -1)
|
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)
|
if (fcntl(pair[1], F_SETFL, O_NONBLOCK) == -1)
|
||||||
warn("fcntl(O_NONBLOCK)");
|
fprintf(stderr, "fcntl(O_NONBLOCK)");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
test_ok = 0;
|
test_ok = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user