mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
action.c: add _POSIX_C_SOURCE
...to compile cleanly with musl on Void Linux and avoid:
```
[9/58] Compiling C object labwc.p/src_action.c.o
../src/action.c: In function 'actions_run':
../src/action.c:204:4: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration]
204 | kill(getpid(), SIGHUP);
| ^~~~
[58/58] Linking target labwc
```
Reported-by: @M4lin
This commit is contained in:
parent
505b1edb98
commit
46ee070790
1 changed files with 1 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
#define _POSIX_C_SOURCE
|
||||
#include <strings.h>
|
||||
#include <wlr/util/log.h>
|
||||
#include <signal.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue