bench: fix compilation on hurd Patch by Samuel Thibault. https://github.com/xkbcommon/libxkbcommon/issues/39 Signed-off-by: Ran Benita <ran234@gmail.com>
diff --git a/bench/bench.c b/bench/bench.c
index 37e41f5..6aa43d9 100644
--- a/bench/bench.c
+++ b/bench/bench.c
@@ -35,6 +35,7 @@
#include <assert.h>
#include <stdlib.h>
+#include <stdint.h>
#include <string.h>
#include <stdio.h>
diff --git a/bench/bench.h b/bench/bench.h
index 5c1769e..adc15bb 100644
--- a/bench/bench.h
+++ b/bench/bench.h
@@ -25,6 +25,8 @@
#ifndef LIBXKBCOMMON_BENCH_H
#define LIBXKBCOMMON_BENCH_H
+#include <stdint.h>
+
struct bench_time {
long seconds;
long milliseconds;