summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2019-02-11 18:41:46 +0900
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2019-02-11 16:31:38 +0000
commitdc4a0dd776c07aaaec23489f4500b53ebe9bf581 (patch)
tree47db7712521ffec3f8147a5dd3003b7208701aba
parent6326fec9f14f8b4288fc1822007ef7cd06339f7a (diff)
downloadtdebase-dc4a0dd776c07aaaec23489f4500b53ebe9bf581.tar.gz
tdebase-dc4a0dd776c07aaaec23489f4500b53ebe9bf581.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>
-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>