From: David Herrmann Date: Thu, 18 Sep 2014 22:23:42 +0000 (+0200) Subject: pty: include linux/ioctl.h for TIOCSIG X-Git-Tag: v217~506 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=fb1f4170d008315cb9eabe994038977a0366ede5;ds=sidebyside 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. --- diff --git a/src/shared/pty.c b/src/shared/pty.c index 2863da489..31123e5af 100644 --- a/src/shared/pty.c +++ b/src/shared/pty.c @@ -45,6 +45,7 @@ #include #include #include +#include #include #include #include