summaryrefslogtreecommitdiff
path: root/src/libunixonacid/skaclient_server_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libunixonacid/skaclient_server_init.c')
-rw-r--r--src/libunixonacid/skaclient_server_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libunixonacid/skaclient_server_init.c b/src/libunixonacid/skaclient_server_init.c
index 86eb003..ec5623a 100644
--- a/src/libunixonacid/skaclient_server_init.c
+++ b/src/libunixonacid/skaclient_server_init.c
@@ -1,11 +1,12 @@
/* ISC license. */
+#include <sys/types.h>
#include <skalibs/allreadwrite.h>
#include <skalibs/skaclient.h>
#include <skalibs/tai.h>
#include <skalibs/unixmessage.h>
-int skaclient_server_init (unixmessage_receiver_t *in, unixmessage_sender_t *out, unixmessage_sender_t *asyncout, char const *before, unsigned int beforelen, char const *after, unsigned int afterlen, tain_t const *deadline, tain_t *stamp)
+int skaclient_server_init (unixmessage_receiver_t *in, unixmessage_sender_t *out, unixmessage_sender_t *asyncout, char const *before, size_t beforelen, char const *after, size_t afterlen, tain_t const *deadline, tain_t *stamp)
{
unixmessage_t m ;
return (sanitize_read(unixmessage_timed_receive(in, &m, deadline, stamp)) >= 0)