aboutsummaryrefslogtreecommitdiff
path: root/system/include/sys/ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/sys/ioctl.h')
-rw-r--r--system/include/sys/ioctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/include/sys/ioctl.h b/system/include/sys/ioctl.h
index edc9ea36..12857ae3 100644
--- a/system/include/sys/ioctl.h
+++ b/system/include/sys/ioctl.h
@@ -11,6 +11,8 @@ extern "C" {
#define TIOCGSIZE 80 // bogus
#define TIOCGWINSZ 80 // bogus
+#define FIONREAD 1
+
int ioctl(int d, int request, ...);
#define SO_RCVTIMEO 1000