diff options
Diffstat (limited to 'src/libstddjb/ip4_fmtu32.c')
-rw-r--r-- | src/libstddjb/ip4_fmtu32.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstddjb/ip4_fmtu32.c b/src/libstddjb/ip4_fmtu32.c index d4833e8..9347cef 100644 --- a/src/libstddjb/ip4_fmtu32.c +++ b/src/libstddjb/ip4_fmtu32.c @@ -1,9 +1,11 @@ /* ISC license. */ +#include <sys/types.h> +#include <stdint.h> #include <skalibs/uint32.h> #include <skalibs/fmtscan.h> -unsigned int ip4_fmtu32 (char *s, uint32 ip) +size_t ip4_fmtu32 (char *s, uint32_t ip) { char pack[4] ; uint32_pack_big(pack, ip) ; |