projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
853b750
)
bench: fix compilation on hurd
author
Ran Benita
<ran234@gmail.com>
Mon, 19 Sep 2016 07:09:12 +0000
(10:09 +0300)
committer
Ran 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
patch
|
blob
|
history
bench/bench.h
patch
|
blob
|
history
diff --git
a/bench/bench.c
b/bench/bench.c
index
37e41f5
..
6aa43d9
100644
(file)
--- 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
(file)
--- 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;