commit dc4a0dd776c07aaaec23489f4500b53ebe9bf581
Author: OBATA Akio <obache@wizdas.com>
Date:   Mon Feb 11 18:41:46 2019 +0900

    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>

diff --git a/tdm/backend/ctrl.c b/tdm/backend/ctrl.c
index 4acd6d29..1e7cfd07 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>

