summaryrefslogtreecommitdiff
path: root/src/libstddjb/ip46_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/ip46_scan.c')
-rw-r--r--src/libstddjb/ip46_scan.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstddjb/ip46_scan.c b/src/libstddjb/ip46_scan.c
index 3e2f645..8b30fc1 100644
--- a/src/libstddjb/ip46_scan.c
+++ b/src/libstddjb/ip46_scan.c
@@ -1,9 +1,11 @@
/* ISC license. */
+#include <stddef.h>
+
#include <skalibs/fmtscan.h>
#include <skalibs/ip46.h>
-size_t ip46full_scan (char const *s, ip46full_t *ip)
+size_t ip46full_scan (char const *s, ip46full *ip)
{
size_t len = ip6_scan(s, ip->ip) ;
if (len) ip->is6 = 1 ;