Commit 1c3980b5 authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Jon Severinsson
Browse files

Fix build of the insserv generator

(cherry picked from commit 5a4ffa250571f55be55495caaa8c990045fee740)
parent 457ac6bf
......@@ -7,6 +7,11 @@ systemd (214-1) UNRELEASED; urgency=medium
- Rebase remaining Debian patches on top of v214-stable.
- Drop modifications to the now-removed built-in sysvinit support.
[ Sjoerd Simons ]
* debian/patches/shared-include-stdbool.h-in-mkdir.h.patch
+ Added. Include stdbool before using bool in function prototypes. Fixes
build of the insserv generator
-- Jon Severinsson <jon@severinsson.net> Sun, 16 Jul 2014 20:00:00 +0200
systemd (208-6) unstable; urgency=medium
......
......@@ -61,6 +61,7 @@ sysv-generator-fix-incorect-ordering-of-Wants.patch
core-transaction-fix-cycle-break-attempts-outside-tr.patch
units-conditionalize-static-device-node-logic-on-CAP.patch
build-sys-don-t-move-libgudev-to-lib.patch
shared-include-stdbool.h-in-mkdir.h.patch
## Debian specific patches:
Add-back-support-for-Debian-specific-config-files.patch
......
From: Sjoerd Simons <sjoerd@luon.net>
Date: Wed, 16 Jul 2014 12:09:56 +0200
Subject: 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 d15ede6..dd5b41e 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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment