Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
mdadm.5365
0152-Define-_POSIX_C_SOURCE-if-undefined.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0152-Define-_POSIX_C_SOURCE-if-undefined.patch of Package mdadm.5365
From cf80bce8df43d6ca9f74036ec0bcbe0f215f89be Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Wed, 13 Jan 2016 22:32:38 -0800 Subject: [PATCH 212/359] Define _POSIX_C_SOURCE if undefined References: bsc#1081910 config.c uses _POSIX_C_SOURCE which is defined in features.h when glibc/uclibc is used, but isn't defined when musl is used. So provide a reasonable default. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Coly Li <colyli@suse.de> --- config.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.c b/config.c index c58c8fe..b308b6c 100644 --- a/config.c +++ b/config.c @@ -63,6 +63,9 @@ * but may not wrap over lines * */ +#ifndef _POSIX_C_SOURCE +#define _POSIX_C_SOURCE 200809L +#endif #ifndef CONFFILE #define CONFFILE "/etc/mdadm.conf" -- 2.16.1
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