define _BSD_SOURCE
This commit is contained in:
parent
2266ec4a9b
commit
d8dede46e8
4 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
*
|
||||
* Copyright (C) 2010 Creytiv.com
|
||||
*/
|
||||
#define _BSD_SOURCE 1
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#define __USE_POSIX 1 /**< Use POSIX flag */
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
*
|
||||
* Copyright (C) 2010 Creytiv.com
|
||||
*/
|
||||
#define _BSD_SOURCE 1
|
||||
#include <re_types.h>
|
||||
#include <re_fmt.h>
|
||||
#include <re_mbuf.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Copyright (C) 2010 Creytiv.com
|
||||
*/
|
||||
#ifdef HAVE_INET_PTON
|
||||
#define __USE_BSD 1 /**< Use BSD code */
|
||||
#define _BSD_SOURCE 1 /**< Use BSD code */
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <arpa/inet.h>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
*
|
||||
* Copyright (C) 2010 Creytiv.com
|
||||
*/
|
||||
#define _BSD_SOURCE 1
|
||||
#include <string.h>
|
||||
#include <re_types.h>
|
||||
#include <re_fmt.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue