mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
FS-6996: #resolve fix define change as of glibc 2.20 for _BSD_SOURCE -> _DEFAULT_SOURCE
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
*
|
||||
*
|
||||
*/
|
||||
#ifndef _DEFAULT_SOURCE
|
||||
#define _DEFAULT_SOURCE
|
||||
#endif
|
||||
#define _BSD_SOURCE
|
||||
#include "private/ftdm_core.h"
|
||||
|
||||
|
@@ -38,6 +38,9 @@
|
||||
*/
|
||||
|
||||
#ifdef __linux__
|
||||
#ifndef _DEFAULT_SOURCE
|
||||
#define _DEFAULT_SOURCE
|
||||
#endif
|
||||
#ifndef _BSD_SOURCE
|
||||
#define _BSD_SOURCE /* for strsep() */
|
||||
#endif
|
||||
|
@@ -40,6 +40,9 @@
|
||||
*
|
||||
*/
|
||||
#ifdef WP_DEBUG_IO
|
||||
#ifndef _DEFAULT_SOURCE
|
||||
#define _DEFAULT_SOURCE
|
||||
#endif
|
||||
#define _BSD_SOURCE
|
||||
#include <syscall.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user