From e965f32c9626b352f085bba4229ab538b3974036 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Thu, 5 Oct 2017 13:20:10 +0200 Subject: [PATCH] fix build with musl libc --- pw-inspector.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pw-inspector.c b/pw-inspector.c index d5ca29c..9b5a2f9 100644 --- a/pw-inspector.c +++ b/pw-inspector.c @@ -3,6 +3,7 @@ #include #include #include +#include #define PROGRAM "PW-Inspector" #define VERSION "v0.2" @@ -36,7 +37,7 @@ void help() { exit(-1); } -int32_t main(int32_t argc, char *argv[]) { +int main(int argc, char *argv[]) { int32_t i, j, k; int32_t sets = 0, countsets = 0, minlen = 0, maxlen = MAXLENGTH, count = 0; int32_t set_low = 0, set_up = 0, set_no = 0, set_print = 0, set_other = 0;