summaryrefslogtreecommitdiffstats
path: root/tdm
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-05 00:45:32 +0200
commitc71af5fc0a859412aa14fcad501323ae5d3fadce (patch)
treeaac4e7a1a8d766611bd0a5ddcd3497fa6a00eddf /tdm
parent9c4648db2857c300cfd3bd96b8916401587377aa (diff)
downloadtdebase-c71af5fc0a859412aa14fcad501323ae5d3fadce.tar.gz
tdebase-c71af5fc0a859412aa14fcad501323ae5d3fadce.zip
tdm/backend: Add include <sys/ioctl.h> for ioctl() prototype.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 7a45949a764947a641f4dcdcfc9d9608bdbdab18)
Diffstat (limited to 'tdm')
-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__