systemd/0067-shared-include-stdbool.h-in-mkdir.h.patch
2014-07-19 15:47:59 -04:00

23 lines
684 B
Diff

From a6874d3be0e08b17cc62b84e4dde2abebe035d81 Mon Sep 17 00:00:00 2001
From: Sjoerd Simons <sjoerd@luon.net>
Date: Wed, 16 Jul 2014 12:09:56 +0200
Subject: [PATCH] shared: include stdbool.h in mkdir.h
(cherry picked from commit 4e4877d96c8afd0818176a472080986bbf28ea3a)
---
src/shared/mkdir.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/shared/mkdir.h b/src/shared/mkdir.h
index d15ede6064..dd5b41ec6f 100644
--- a/src/shared/mkdir.h
+++ b/src/shared/mkdir.h
@@ -22,6 +22,7 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <stdbool.h>
#include <sys/types.h>
int mkdir_safe(const char *path, mode_t mode, uid_t uid, gid_t gid);