Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
collectd
src-dpdk_telemetry.c-fix-build-on-musl.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File src-dpdk_telemetry.c-fix-build-on-musl.patch of Package collectd
From: Fabrice Fontaine <fontaine.fabrice@gmail.com> Subject: src/dpdk_telemetry.c: fix build on musl References: jsc#SLE-23472 Patch-Mainline: collectd-5.12.0 Git-commit: 70318d6bcf7ef89e1a73fc775d33f4c854aed484 Git-repo: git://github.com/collectd/collectd.git.git Include unistd.h instead of sys/unistd.h to fix the following build failure on musl: src/dpdk_telemetry.c:43:10: fatal error: sys/unistd.h: No such file or directory #include <sys/unistd.h> ^~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/aafb8c72f147fefc7a988c45e4dc17de48b07a95 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: <trenn@suse.com> diff --git a/src/dpdk_telemetry.c b/src/dpdk_telemetry.c index b46e8574..cfee5f12 100755 --- a/src/dpdk_telemetry.c +++ b/src/dpdk_telemetry.c @@ -40,7 +40,7 @@ #include <sys/queue.h> #include <sys/socket.h> #include <sys/un.h> -#include <sys/unistd.h> +#include <unistd.h> #define BUF_SIZE 100000 #define PLUGIN_NAME "dpdk_telemetry"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor