gpioset: include <poll.h> instead of <sys/poll.h>
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 25 Jan 2017 10:55:31 +0000 (11:55 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 25 Jan 2017 10:56:23 +0000 (11:56 +0100)
Just like we did in core.c: don't include <sys/poll.h> directly.

Follow the manual and include <poll.h>.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/tools/gpioset.c

index fe7d42e9fb85a2ba698b09616c6f36ad96e7dd09..4db0196e0d7b285e62b81b377fd8e87b9afc5f61 100644 (file)
@@ -17,7 +17,7 @@
 #include <sys/select.h>
 #include <signal.h>
 #include <sys/signalfd.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <limits.h>
 #include <errno.h>
 #include <unistd.h>