Remove internal usage of _GNU_SOURCE

This commit is contained in:
Kevin Bowling 2010-12-22 23:08:10 -07:00
parent 2c5566a9c7
commit 3b265412b7
2 changed files with 5 additions and 3 deletions

View File

@ -25,8 +25,10 @@
*/
#include "event2/event-config.h"
/* With glibc we need to define this to get PTHREAD_MUTEX_RECURSIVE. */
#define _GNU_SOURCE
/* With glibc we need to define this to get PTHREAD_MUTEX_RECURSIVE.
* _GNU_SOURCE, now from event-private
*/
#include "event-private.h"
#include <pthread.h>
struct event_base;

View File

@ -28,7 +28,7 @@
*/
#include "event2/event-config.h"
#define _GNU_SOURCE
#include "event-private.h"
#include <sys/types.h>
#ifdef _EVENT_HAVE_SYS_TIME_H