mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05: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