summaryrefslogtreecommitdiffstats
path: root/tdm/backend/ctrl.c
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2023-07-03 22:50:32 +0200
committerSlávek Banko <[email protected]>2023-07-04 22:11:13 +0200
commit7a45949a764947a641f4dcdcfc9d9608bdbdab18 (patch)
tree7c5ab2d08a2d5b976296987fccdb643dc768458c /tdm/backend/ctrl.c
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 <[email protected]>
Diffstat (limited to 'tdm/backend/ctrl.c')
-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__