summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2019-01-11 17:24:21 +0100
committerFabrice Fontaine <fontaine.fabrice@gmail.com>2019-01-11 17:37:36 +0100
commite2d94d0c160227c1870f7bd057beac6f635bd2a3 (patch)
treee229c67499d313a795acc7f8ed0a8dc4ebf13b3f /src
parentmissing_if_link.h: add IFLA_BOND_MODE (diff)
downloadsystemd-e2d94d0c160227c1870f7bd057beac6f635bd2a3.tar.xz
systemd-e2d94d0c160227c1870f7bd057beac6f635bd2a3.zip
missing_syscall.h: include errno.h
This include is needed for errno and ENOSYS Fixes: - http://autobuild.buildroot.org/results/699c078aa078240c6741da4dbd0871450ceeca92 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/basic/missing_syscall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h
index d5d4b26acb..d1aa32218b 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>