bench: fix compilation on hurd

Patch by Samuel Thibault.

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

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2016-09-19 10:09:12 +03:00
parent 853b7502f4
commit fe81dcbd2f
2 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,7 @@
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View File

@ -25,6 +25,8 @@
#ifndef LIBXKBCOMMON_BENCH_H #ifndef LIBXKBCOMMON_BENCH_H
#define LIBXKBCOMMON_BENCH_H #define LIBXKBCOMMON_BENCH_H
#include <stdint.h>
struct bench_time { struct bench_time {
long seconds; long seconds;
long milliseconds; long milliseconds;