mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 22:54:18 +00:00
FS-6996: #resolve fix define change as of glibc 2.20 for _BSD_SOURCE -> _DEFAULT_SOURCE
This commit is contained in:
1 parent
f1df8d6096
commit
0cf770a836
8 files changed
+24
No files matched your search
@@ -34,6 +34,9 @@
|
||||
|
||||
#define _XOPEN_SOURCE 600 /* For strdup() */
|
||||
#define _BSD_SOURCE /* For xmlrpc_strcaseeq */
|
||||
#ifndef _DEFAULT_SOURCE
|
||||
#define _DEFAULT_SOURCE
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
#define _XOPEN_SOURCE 600 /* For strdup() */
|
||||
#define _BSD_SOURCE /* For xmlrpc_strcaseeq() */
|
||||
#ifndef _DEFAULT_SOURCE
|
||||
#define _DEFAULT_SOURCE
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <assert.h>
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
#define _XOPEN_SOURCE 600 /* Make sure strdup() is in <string.h> */
|
||||
#define _BSD_SOURCE /* Make sure setgroups()is in <grp.h> */
|
||||
#ifndef _DEFAULT_SOURCE
|
||||
#define _DEFAULT_SOURCE
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in new issue
Block a user