projects
/
platform
/
upstream
/
libevdev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow -1 as valid fd in libevdev_change_fd
[platform/upstream/libevdev.git]
/
libevdev
/
libevdev-int.h
diff --git
a/libevdev/libevdev-int.h
b/libevdev/libevdev-int.h
index
21d67d3
..
847fe56
100644
(file)
--- a/
libevdev/libevdev-int.h
+++ b/
libevdev/libevdev-int.h
@@
-26,6
+26,7
@@
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdbool.h>
#include <errno.h>
#include "libevdev.h"
@@
-73,6
+74,7
@@
enum SyncState {
struct libevdev {
int fd;
+ bool initialized;
char *name;
char *phys;
char *uniq;