mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-22 05:33:53 -04:00
system: don't use _GNU_SOURCE in public header
Use a forward declaration instead for itimerspec. Fixes #230
This commit is contained in:
parent
03027153e2
commit
7f271ef982
1 changed files with 1 additions and 3 deletions
|
|
@ -29,9 +29,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _GNU_SOURCE
|
struct itimerspec;
|
||||||
#define _GNU_SOURCE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue