summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2016-12-23 10:12:27 +0100
committerPali Rohár <pali.rohar@gmail.com>2016-12-23 10:12:27 +0100
commit0a1ac2521966221c38f654ca59128c7be70fb708 (patch)
treea0bf4b6d744f8df520c897807c305ac3fba6ac90
parentbd59c47ec374cac2051dda20b5a58f84b5c81664 (diff)
download0xFFFF-0a1ac2521966221c38f654ca59128c7be70fb708.tar.bz2
cal: Move sys/ioctl.h to __linux__
-rw-r--r--src/cal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cal.c b/src/cal.c
index 8a5d720..265f929 100644
--- a/src/cal.c
+++ b/src/cal.c
@@ -27,13 +27,13 @@
#include <errno.h>
#include <string.h>
-#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#ifdef __linux__
+#include <sys/ioctl.h>
#include <linux/fs.h>
#include <mtd/mtd-user.h>
#include <sys/sysmacros.h>