summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libtrivfs/io-readable.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libtrivfs/io-readable.c b/libtrivfs/io-readable.c
index a98de643..fd6c33ef 100644
--- a/libtrivfs/io-readable.c
+++ b/libtrivfs/io-readable.c
@@ -16,9 +16,11 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
+#include "io_S.h"
+#include <assert.h>
-error_t
-trivfs_S_io_readable (struct protid *cred,
+kern_return_t
+trivfs_S_io_readable (struct trivfs_protid *cred,
int *amount)
{
assert (!trivfs_support_read);