system: don't use _GNU_SOURCE in public header

Use a forward declaration instead for itimerspec.

Fixes #230
This commit is contained in:
Wim Taymans 2020-04-24 13:11:32 +02:00
parent 03027153e2
commit 7f271ef982

View file

@ -29,9 +29,7 @@
extern "C" {
#endif
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
struct itimerspec;
#include <time.h>
#include <sys/types.h>