summaryrefslogtreecommitdiff
path: root/src/libunixonacid/skaclient_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libunixonacid/skaclient_send.c')
-rw-r--r--src/libunixonacid/skaclient_send.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libunixonacid/skaclient_send.c b/src/libunixonacid/skaclient_send.c
index 38dcddb..2e63c34 100644
--- a/src/libunixonacid/skaclient_send.c
+++ b/src/libunixonacid/skaclient_send.c
@@ -1,10 +1,11 @@
/* ISC license. */
+#include <sys/types.h>
#include <skalibs/tai.h>
#include <skalibs/unixmessage.h>
#include <skalibs/skaclient.h>
-int skaclient_send (skaclient_t *a, char const *s, unsigned int len, unixmessage_handler_func_t *cb, void *result, tain_t const *deadline, tain_t *stamp)
+int skaclient_send (skaclient_t *a, char const *s, size_t len, unixmessage_handler_func_t *cb, void *result, tain_t const *deadline, tain_t *stamp)
{
unixmessage_t m = { .s = (char *)s, .len = len, .fds = 0, .nfds = 0 } ;
return skaclient_sendmsg(a, &m, cb, result, deadline, stamp) ;