chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66a16e7
)
pty: include linux/ioctl.h for TIOCSIG
author
David Herrmann
<dh.herrmann@gmail.com>
Thu, 18 Sep 2014 22:23:42 +0000
(
00:23
+0200)
committer
David Herrmann
<dh.herrmann@gmail.com>
Thu, 18 Sep 2014 22:26:49 +0000
(
00:26
+0200)
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.
src/shared/pty.c
patch
|
blob
|
history
diff --git
a/src/shared/pty.c
b/src/shared/pty.c
index 2863da489cabb140bd6e40b2368d7b5fc4deb87b..31123e5af20636e71476ae52043327af5e99ba5b 100644
(file)
--- 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>