summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Efremov <sem@altlinux.org>2020-12-08 16:15:28 +0000
committerRoy Marples <roy@marples.name>2020-12-08 16:15:28 +0000
commite7c22336461ee345a5668eed6158e935cd4cdf1a (patch)
tree533d5a547523a652802bb9ff4affb033ced18bfb
parente04f03ce805eb4a5ac59c713b552ad7fe87c0685 (diff)
downloaddhcpcd-e7c22336461ee345a5668eed6158e935cd4cdf1a.tar.xz
Linux: Fix privsep build by including sys/termios.h for all platforms
-rw-r--r--src/privsep-linux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/privsep-linux.c b/src/privsep-linux.c
index e588ecd7..1fbe97fa 100644
--- a/src/privsep-linux.c
+++ b/src/privsep-linux.c
@@ -29,6 +29,7 @@
#include <sys/ioctl.h>
#include <sys/prctl.h>
#include <sys/syscall.h>
+#include <sys/termios.h> /* For TCGETS */
#include <linux/audit.h>
#include <linux/filter.h>