Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
target-isns.3375
add-posix_c_source-define-for-getaddrinfo3
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File add-posix_c_source-define-for-getaddrinfo3 of Package target-isns.3375
From: Lee Duncan <lduncan@suse.com> Date: Tue, 11 Aug 2015 10:23:43 -0700 Subject: Add _POSIX_C_SOURCE define for getaddrinfo(3) Git-commit: 7e30305aa3ebd80c4bcc0379f1f6f2ad2c764141 Patch-mainline: v0.5 The netdb library has been updated so that getaddrinfo() and friends (like gai_strerror()) are not defined in netdb.h unless one of the following is true: _XOPEN_SOURCE >= 600 || _POSIX_C_SOURCE >= 200112L whereas it used to be: _POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _POSIX_SOURCE This adds the proper define to isns.c where netdb is used. Acked-by: Lee Duncan <lduncan@suse.com> --- src/isns.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/isns.c b/src/isns.c index 56869c861857..f2f3e5a4910d 100644 --- a/src/isns.c +++ b/src/isns.c @@ -9,6 +9,7 @@ */ #define _POSIX_SOURCE +#define _POSIX_C_SOURCE 200112L #include <errno.h> #include <inttypes.h> #include <limits.h>
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