summaryrefslogtreecommitdiffstats
path: root/tdm
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2019-02-11 18:41:46 +0900
committerSlávek Banko <slavek.banko@axis.cz>2019-02-11 17:32:09 +0100
commit4e78f809c5a286394988403a3d7f88027f249280 (patch)
treecdf3c740f3c5aa2232defb8fc197b955a89f4e79 /tdm
parentb3f41d271fd19a40f88ebc324c744a5500157fa0 (diff)
downloadtdebase-4e78f809c5a286394988403a3d7f88027f249280.tar.gz
tdebase-4e78f809c5a286394988403a3d7f88027f249280.zip
Ensure include of sys/stat.h
It is required for mkdir(2), chmod(2) and mkfifo(2). Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit dc4a0dd776c07aaaec23489f4500b53ebe9bf581)
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 4acd6d293..1e7cfd07a 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/stat.h>
#ifdef __linux__
#include <linux/vt.h>