diff options
-rw-r--r-- | libtrivfs/file-set-size.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libtrivfs/file-set-size.c b/libtrivfs/file-set-size.c index 56085790..764b9b95 100644 --- a/libtrivfs/file-set-size.c +++ b/libtrivfs/file-set-size.c @@ -16,9 +16,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "priv.h" +#include "trivfs_S.h" +#include <assert.h> error_t -diskfs_S_file_truncate (struct protid *cred, off_t size) +diskfs_S_file_truncate (struct trivfs_protid *cred, off_t size) { assert (!trivfs_support_write); return cred ? EBADF : EOPNOTSUPP; |