]> git.mdlowis.com Git - proto/labwc.git/commit
action.c: add _POSIX_C_SOURCE
authorJohan Malm <jgm323@gmail.com>
Thu, 16 Jun 2022 21:00:45 +0000 (22:00 +0100)
committerJohan Malm <jgm323@gmail.com>
Thu, 16 Jun 2022 21:00:45 +0000 (22:00 +0100)
commit46ee0707901eb30113696dd9240a7ced9eb700a2
tree55aaecf433d2807bb96e919732bf61546d03b1a0
parent505b1edb9870cb5b5567a905911a680e807a99fe
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
src/action.c