summaryrefslogtreecommitdiff
path: root/src/libs6/s6lock_end.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6/s6lock_end.c')
-rw-r--r--src/libs6/s6lock_end.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs6/s6lock_end.c b/src/libs6/s6lock_end.c
index c460efd..74e83f1 100644
--- a/src/libs6/s6lock_end.c
+++ b/src/libs6/s6lock_end.c
@@ -1,5 +1,6 @@
/* ISC license. */
+#include <stdint.h>
#include <skalibs/genalloc.h>
#include <skalibs/gensetdyn.h>
#include <skalibs/skaclient.h>
@@ -8,7 +9,7 @@
void s6lock_end (s6lock_t *a)
{
gensetdyn_free(&a->data) ;
- genalloc_free(uint16, &a->list) ;
+ genalloc_free(uint16_t, &a->list) ;
skaclient_end(&a->connection) ;
*a = s6lock_zero ;
}