diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2019-01-11 17:50:18 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2019-01-12 18:39:49 +0100 |
commit | d62425599e09b503d98febbf73b63731dbf4bf76 (patch) | |
tree | a780fc0059b426de4244a111fbf09a052604e3cb /package/systemd/0007-missing_syscall.h-include-errno.h.patch | |
parent | a4c1b5d3bb4552527d15b9d5b3194c0a0bc9c69d (diff) | |
download | buildroot-d62425599e09b503d98febbf73b63731dbf4bf76.tar.gz buildroot-d62425599e09b503d98febbf73b63731dbf4bf76.zip |
package/systemd: fix build with older kernels
Fixes:
- http://autobuild.buildroot.org/results/699c078aa078240c6741da4dbd0871450ceeca92
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/systemd/0007-missing_syscall.h-include-errno.h.patch')
-rw-r--r-- | package/systemd/0007-missing_syscall.h-include-errno.h.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/systemd/0007-missing_syscall.h-include-errno.h.patch b/package/systemd/0007-missing_syscall.h-include-errno.h.patch new file mode 100644 index 0000000000..eb5d9eacb7 --- /dev/null +++ b/package/systemd/0007-missing_syscall.h-include-errno.h.patch @@ -0,0 +1,28 @@ +From 985d15d636b4d2c7086dbd305369c02756cdbe19 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine <fontaine.fabrice@gmail.com> +Date: Fri, 11 Jan 2019 17:24:21 +0100 +Subject: [PATCH] missing_syscall.h: include errno.h + +This include is needed for errno and ENOSYS + +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> +[Upstream status: https://github.com/systemd/systemd/pull/11400] +--- + src/basic/missing_syscall.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h +index d5d4b26ac..d1aa32218 100644 +--- a/src/basic/missing_syscall.h ++++ b/src/basic/missing_syscall.h +@@ -3,6 +3,7 @@ + + /* Missing glibc definitions to access certain kernel APIs */ + ++#include <errno.h> + #include <fcntl.h> + #include <sys/syscall.h> + #include <sys/types.h> +-- +2.14.1 + |