Make this test compile again and remove its dependency on sys/pipe.h.
This commit is contained in:
parent
a0c03350a3
commit
d895e295d0
@ -3,10 +3,11 @@
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/pipe.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#define BIG_PIPE_SIZE 64*1024 /* From sys/pipe.h */
|
||||
|
||||
/*
|
||||
* Test for the non-blocking big pipe bug (write(2) returning
|
||||
* EAGAIN while select(2) returns the descriptor as ready for write).
|
||||
|
Loading…
x
Reference in New Issue
Block a user