summaryrefslogtreecommitdiff
path: root/src/libunixonacid/openwritenclose.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libunixonacid/openwritenclose.c')
-rw-r--r--src/libunixonacid/openwritenclose.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libunixonacid/openwritenclose.c b/src/libunixonacid/openwritenclose.c
index 09149e2..2c5ffb7 100644
--- a/src/libunixonacid/openwritenclose.c
+++ b/src/libunixonacid/openwritenclose.c
@@ -2,10 +2,11 @@
/* MT-unsafe */
+#include <sys/types.h>
#include <skalibs/skamisc.h>
#include <skalibs/unix-transactional.h>
-int openwritenclose (char const *fn, char const *s, unsigned int len)
+int openwritenclose (char const *fn, char const *s, size_t len)
{
return openwritenclose_tmp(fn, s, len, &satmp) ;
}