diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2015-12-25 15:08:29 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2015-12-25 15:08:29 +0000 |
commit | c0143d6ea84018f67e3c1ed12bcd68c4f352b81d (patch) | |
tree | 2cd997fedd02981cb35f699efab92538f7cec715 | |
parent | e64309c4cf79faa3f4449233daf7a9458353dd47 (diff) |
Explicitely include <sys/time.h> where needed.
From pkgsrc (Takahiro Kambe) via Thomas Klausner. Thanks
-rw-r--r-- | driver/xf86-input-ws/src/emumb.c | 4 | ||||
-rw-r--r-- | driver/xf86-input-ws/src/emuwheel.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/driver/xf86-input-ws/src/emumb.c b/driver/xf86-input-ws/src/emumb.c index c88c4bc5f..a4b3f1706 100644 --- a/driver/xf86-input-ws/src/emumb.c +++ b/driver/xf86-input-ws/src/emumb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: emumb.c,v 1.13 2012/07/08 14:22:03 shadchin Exp $ */ +/* $OpenBSD: emumb.c,v 1.14 2015/12/25 15:08:28 matthieu Exp $ */ /* * Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany. * Copyright 1993 by David Dawes <dawes@xfree86.org> @@ -36,6 +36,8 @@ #include "config.h" #endif +#include <sys/time.h> + #include <xorg-server.h> #include <X11/Xatom.h> #include <xf86.h> diff --git a/driver/xf86-input-ws/src/emuwheel.c b/driver/xf86-input-ws/src/emuwheel.c index f33319175..93b1715af 100644 --- a/driver/xf86-input-ws/src/emuwheel.c +++ b/driver/xf86-input-ws/src/emuwheel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: emuwheel.c,v 1.2 2012/07/08 13:51:11 shadchin Exp $ */ +/* $OpenBSD: emuwheel.c,v 1.3 2015/12/25 15:08:28 matthieu Exp $ */ /* * Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany. * Copyright 1993 by David Dawes <dawes@xfree86.org> @@ -36,6 +36,8 @@ #include "config.h" #endif +#include <sys/time.h> + #include <xorg-server.h> #include <X11/Xatom.h> #include <xf86.h> |