diff mbox series

util: Add missing stat.h include

Message ID 20180307165609.5684-1-christian.storm@siemens.com
State Accepted
Headers show
Series util: Add missing stat.h include | expand

Commit Message

Storm, Christian March 7, 2018, 4:56 p.m. UTC
S_IRUSR and S_IWUSR are missing.

Signed-off-by: Thomas Zander <thomas.zander@siemens.com>
Signed-off-by: Christian Storm <christian.storm@siemens.com>
---
 core/util.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/core/util.c b/core/util.c
index bdc47dc..29ab45f 100644
--- a/core/util.c
+++ b/core/util.c
@@ -13,6 +13,7 @@ 
 #include <errno.h>
 #include <fcntl.h>
 #include <sys/file.h>
+#include <sys/stat.h>
 #include <dirent.h>
 #include "swupdate.h"
 #include "util.h"