mirror of
https://github.com/swaywm/sway.git
synced 2025-04-03 19:07:45 +03:00
Replace _XOPEN_SOURCE with _POSIX_C_SOURCE
And make sure we don't define both in the same source file.
This commit is contained in:
parent
827e5513e0
commit
3a310f92ab
51 changed files with 43 additions and 59 deletions
|
@ -1,5 +1,4 @@
|
|||
#define _XOPEN_SOURCE 700
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <getopt.h>
|
||||
#include <stdlib.h>
|
||||
#include <wordexp.h>
|
||||
|
@ -398,4 +397,3 @@ int swaynag_load_config(char *path, struct swaynag *swaynag, list_t *types) {
|
|||
fclose(config);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue