diff --git a/src/nfacct.c b/src/nfacct.c index fdcc8c62f..d4760890a 100644 --- a/src/nfacct.c +++ b/src/nfacct.c @@ -24,6 +24,7 @@ #endif #include +#include #include "connman.h" #include "src/shared/nfacct.h" @@ -288,7 +289,7 @@ static void nfacct_flush_cb(int error, const char *name, connman_nfacct_flush_cb_t cb = cbd->cb; unsigned int id; - DBG("name %s packets %lu bytes %lu", name, packets, bytes); + DBG("name %s packets %" PRIu64 " bytes %" PRIu64, name, packets, bytes); if (error < 0) { /*