summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@samsung.com>2016-12-14 21:32:20 +0900
committerAndi Shyti <andi.shyti@samsung.com>2016-12-14 21:32:20 +0900
commitd320de7a5d67743437a1c71d9c7144478a0e09f8 (patch)
tree1a18273c02fb3a776b074439596abf0fb4fda32c
parent644c51706593779017dab4c3a53e04fd9dc4aba7 (diff)
is: include lirc libraries, do not hardcode the ioctls
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
-rw-r--r--is.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/is.c b/is.c
index 447f9a0..1f9b0c0 100644
--- a/is.c
+++ b/is.c
@@ -1,12 +1,10 @@
#include <fcntl.h>
+#include <linux/lirc.h>
#include <stdio.h>
#include <stdint.h>
#include <sys/ioctl.h>
#include <unistd.h>
-#define LIRC_SET_SEND_CARRIER 1074030867
-#define LIRC_SET_SEND_DUTY_CYCLE 1074030869
-
#define DSIZE 67
/*