---
 src/shared/pty.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/shared/pty.c b/src/shared/pty.c
index 2863da4..21a87e5 100644
--- a/src/shared/pty.c
+++ b/src/shared/pty.c
@@ -61,6 +61,11 @@
 #include <termios.h>
 #include <unistd.h>
 
+/* If sys/ioctl.h doesn't provide TIOCSIG use the kernel header */
+#ifndef TIOCSIG
+#include <asm/ioctls.h>
+#endif
+
 #include "barrier.h"
 #include "macro.h"
 #include "pty.h"
-- 
2.1.0

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to