diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-09-19 00:23:42 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-09-19 00:26:49 +0200 |
commit | fb1f4170d008315cb9eabe994038977a0366ede5 (patch) | |
tree | 07573dee16e5723f59716c25102d4a011497b598 | |
parent | 66a16e7e9fc501d371b57cbe2ae5d130fe930c6d (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.
-rw-r--r-- | src/shared/pty.c | 1 |
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> |