summaryrefslogtreecommitdiff
path: root/eio.c
diff options
context:
space:
mode:
authorroot <root>2011-07-14 22:36:17 +0000
committerroot <root>2011-07-14 22:36:17 +0000
commit8b5a51a4e560ea506cc601f3fb20bbab620ec53b (patch)
tree9a44ce4dc6b23222f739a41938cad84ab5cca75c /eio.c
parent1d951a89106ce0bcd281a76854804a558d2d3957 (diff)
*** empty log message ***
Diffstat (limited to 'eio.c')
-rw-r--r--eio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/eio.c b/eio.c
index b2267b3..f62decc 100644
--- a/eio.c
+++ b/eio.c
@@ -60,7 +60,6 @@
#include <fcntl.h>
#include <assert.h>
-#include <sys/statvfs.h>
/* intptr_t comes from unistd.h, says POSIX/UNIX/tradition */
/* intptr_t only comes from stdint.h, says idiot openbsd coder */
#if HAVE_STDINT_H
@@ -1201,7 +1200,7 @@ eio_page_align (void **addr, size_t *length)
}
#if !_POSIX_MEMLOCK
-# define eio__mlockall(a) eio_nosyscall()
+# define eio__mlockall(a) EIO_ENOSYS ()
#else
static int