diff options
author | silby <silby@FreeBSD.org> | 2004-07-21 03:13:53 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2004-07-21 03:13:53 +0000 |
commit | d38e57366f061b96514560c3de73c414ae3b494d (patch) | |
tree | eceb95b351ffe47f1813637ecdf799fadef109dc /tools/regression/pipe/bigpipetest.c | |
parent | ec31876b2b06274f0f7de048d72611dc43ce7f48 (diff) | |
download | FreeBSD-src-d38e57366f061b96514560c3de73c414ae3b494d.zip FreeBSD-src-d38e57366f061b96514560c3de73c414ae3b494d.tar.gz |
Make this test compile again and remove its dependency on sys/pipe.h.
Diffstat (limited to 'tools/regression/pipe/bigpipetest.c')
-rw-r--r-- | tools/regression/pipe/bigpipetest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/regression/pipe/bigpipetest.c b/tools/regression/pipe/bigpipetest.c index 1eb3776..d5185c5 100644 --- a/tools/regression/pipe/bigpipetest.c +++ b/tools/regression/pipe/bigpipetest.c @@ -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). |