/* See LICENSE file for copyright and license details. */
-#include <inttypes.h>
+#include <stdint.h>
#include <stdio.h>
#include <time.h>
h = uptime.tv_sec / 3600;
m = uptime.tv_sec % 3600 / 60;
- return bprintf("%" PRIuMAX "h %" PRIuMAX "m", h, m);
+ return bprintf("%juh %jum", h, m);
}