bench: fix compilation on hurd
authorRan Benita <ran234@gmail.com>
Mon, 19 Sep 2016 07:09:12 +0000 (10:09 +0300)
committerRan Benita <ran234@gmail.com>
Mon, 19 Sep 2016 07:09:12 +0000 (10:09 +0300)
Patch by Samuel Thibault.

https://github.com/xkbcommon/libxkbcommon/issues/39

Signed-off-by: Ran Benita <ran234@gmail.com>
bench/bench.c
bench/bench.h

index 37e41f5..6aa43d9 100644 (file)
@@ -35,6 +35,7 @@
 
 #include <assert.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <string.h>
 #include <stdio.h>
 
index 5c1769e..adc15bb 100644 (file)
@@ -25,6 +25,8 @@
 #ifndef LIBXKBCOMMON_BENCH_H
 #define LIBXKBCOMMON_BENCH_H
 
+#include <stdint.h>
+
 struct bench_time {
     long seconds;
     long milliseconds;