mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 21:34:53 -04:00
Eliminate a couple more manual internal _GNU_SOURCE defines
This commit is contained in:
parent
3b265412b7
commit
c51ef9307a
6
buffer.c
6
buffer.c
@ -26,6 +26,7 @@
|
||||
*/
|
||||
|
||||
#include "event2/event-config.h"
|
||||
#include "event-private.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#include <winsock2.h>
|
||||
@ -34,8 +35,9 @@
|
||||
#endif
|
||||
|
||||
#ifdef _EVENT_HAVE_VASPRINTF
|
||||
/* If we have vasprintf, we need to define this before we include stdio.h. */
|
||||
#define _GNU_SOURCE
|
||||
/* If we have vasprintf, we need to define _GNU_SOURCE before we include
|
||||
* stdio.h. This comes from event-private.h.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user