Commit 7c32bc6f authored by Ariadne Conill's avatar Ariadne Conill

eventcomm: fix compile with pre-time64 kernels

parent 073b1b40
......@@ -34,6 +34,14 @@
#include <xf86Xinput.h>
#include "synproto.h"
#ifndef input_event_sec
#define input_event_sec time.tv_sec
#endif
#ifndef input_event_usec
#define input_event_usec time.tv_usec
#endif
/* for auto-dev: */
#define DEV_INPUT_EVENT "/dev/input"
#define EVENT_DEV_NAME "event"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment