summaryrefslogtreecommitdiff
path: root/src/shared/pty.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-09-19 00:23:42 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-09-19 00:26:49 +0200
commitfb1f4170d008315cb9eabe994038977a0366ede5 (patch)
tree07573dee16e5723f59716c25102d4a011497b598 /src/shared/pty.c
parent66a16e7e9fc501d371b57cbe2ae5d130fe930c6d (diff)
pty: include linux/ioctl.h for TIOCSIG
TIOCSIG is linux specific, so include the linux ioctl header to make sure it's defined. We currently rely on some rather non-obvious recursive includes. Make sure its always defined regardless of the system headers.
Diffstat (limited to 'src/shared/pty.c')
-rw-r--r--src/shared/pty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/pty.c b/src/shared/pty.c
index 2863da489c..31123e5af2 100644
--- a/src/shared/pty.c
+++ b/src/shared/pty.c
@@ -45,6 +45,7 @@
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
+#include <linux/ioctl.h>
#include <pty.h>
#include <signal.h>
#include <stdbool.h>