summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-07-03 22:50:32 +0200
committerSlávek Banko <slavek.banko@axis.cz>2023-07-04 22:11:13 +0200
commit7a45949a764947a641f4dcdcfc9d9608bdbdab18 (patch)
tree7c5ab2d08a2d5b976296987fccdb643dc768458c
parentc69b585fbe2bd59567358767e95789ccad43469e (diff)
downloadtdebase-7a45949a764947a641f4dcdcfc9d9608bdbdab18.tar.gz
tdebase-7a45949a764947a641f4dcdcfc9d9608bdbdab18.zip
tdm/backend: Add include <sys/ioctl.h> for ioctl() prototype.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--tdm/backend/ctrl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tdm/backend/ctrl.c b/tdm/backend/ctrl.c
index 1e7cfd07a..cc9540745 100644
--- a/tdm/backend/ctrl.c
+++ b/tdm/backend/ctrl.c
@@ -41,6 +41,7 @@ from the copyright holder.
#include <string.h>
#include <signal.h>
#include <pwd.h>
+#include <sys/ioctl.h>
#include <sys/stat.h>
#ifdef __linux__