mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
systemd: Support building on uclibc
include missing.h to get MAX_HANDLE_SZ which is not defined in uclibc. (From OE-Core rev: fa2a90ca632d10fe1a14098c3f4fcacc7cea6ac5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
From 764ecbeda4813f33eafd45fdc3ccb9376356f475 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 25 Aug 2014 15:40:31 -0700
|
||||
Subject: [PATCH] util: Including missing.h to get MAX_HANDLE_SZ
|
||||
|
||||
Helps compiling on uclibc
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
Upstream-Status: [Backport]
|
||||
---
|
||||
src/shared/util.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/shared/util.h b/src/shared/util.h
|
||||
index 62eb604..036fc59 100644
|
||||
--- a/src/shared/util.h
|
||||
+++ b/src/shared/util.h
|
||||
@@ -84,6 +84,7 @@
|
||||
#endif
|
||||
|
||||
#include "macro.h"
|
||||
+#include "missing.h"
|
||||
#include "time-util.h"
|
||||
|
||||
/* What is interpreted as whitespace? */
|
||||
--
|
||||
1.7.10.4
|
||||
|
||||
@@ -31,6 +31,7 @@ SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;branch=master;protocol=
|
||||
file://0001-uClibc-doesn-t-implement-pwritev-preadv.patch \
|
||||
file://uclibc-sysinfo_h.patch \
|
||||
file://uclibc-get-physmem.patch \
|
||||
file://0001-util-Including-missing.h-to-get-MAX_HANDLE_SZ.patch \
|
||||
file://touchscreen.rules \
|
||||
file://00-create-volatile.conf \
|
||||
file://init \
|
||||
|
||||
Reference in New Issue
Block a user