mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
add _GNU_SOURCE as compiler flag
This commit is contained in:
parent
57e0a94163
commit
1ed27a8f2b
16 changed files with 24 additions and 24 deletions
|
|
@ -1,10 +1,12 @@
|
|||
executable('pipewire-monitor',
|
||||
'pipewire-monitor.c',
|
||||
install: true,
|
||||
dependencies : [pipewire_dep],
|
||||
'pipewire-monitor.c',
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
dependencies : [pipewire_dep],
|
||||
)
|
||||
executable('pipewire-cli',
|
||||
'pipewire-cli.c',
|
||||
install: true,
|
||||
dependencies : [pipewire_dep],
|
||||
'pipewire-cli.c',
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
install: true,
|
||||
dependencies : [pipewire_dep],
|
||||
)
|
||||
|
|
|
|||
|
|
@ -22,8 +22,6 @@
|
|||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE /* See feature_test_macros(7) */
|
||||
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue