diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-02-24 15:25:40 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-02-24 15:30:56 +0000 |
commit | 12af8a575d1518d40416f83195049157c3a062a5 (patch) | |
tree | 9a431c0fdadd34ecf109fff94289a192bf9ece7c /src/sna/sna_driver.c | |
parent | 872a296850312956851f61cacb4f66c63ff990b8 (diff) |
sna: udev integration depends on fstat and sys/stat.h
src/sna/sna_driver.c: In function 'sna_handle_uevents':
src/sna/sna_driver.c:759:2: error: implicit declaration of function 'fstat' [-Werror=implicit-function-declaration]
Also take the opportunity to include udev support in the configure
summary.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_driver.c')
-rw-r--r-- | src/sna/sna_driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c index 8c0d0b5d..bc20ef02 100644 --- a/src/sna/sna_driver.c +++ b/src/sna/sna_driver.c @@ -740,6 +740,8 @@ sna_wakeup_handler(WAKEUPHANDLER_ARGS_DECL) } #if HAVE_UDEV +#include <sys/stat.h> + static void sna_handle_uevents(int fd, void *closure) { |