summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/osmo-auc-gen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/osmo-auc-gen.c b/utils/osmo-auc-gen.c
index 7a3c124c..ee349ae6 100644
--- a/utils/osmo-auc-gen.c
+++ b/utils/osmo-auc-gen.c
@@ -27,6 +27,8 @@
#include <string.h>
#include <getopt.h>
#include <unistd.h>
+#include <inttypes.h>
+#include <time.h>
#include <osmocom/crypt/auth.h>
#include <osmocom/core/utils.h>
@@ -246,7 +248,7 @@ int main(int argc, char **argv)
dump_auth_vec(vec);
if (auts_is_set)
- printf("AUTS success: SEQ.MS = %lu\n", test_aud.u.umts.sqn);
+ printf("AUTS success: SEQ.MS = %" PRIu64 "\n", test_aud.u.umts.sqn);
exit(0);
}