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
b0b20a8e1f
commit
8191c2147b
3
main.c
3
main.c
@ -1,5 +1,4 @@
|
||||
#define _XOPEN_SOURCE 700
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
|
2
pam.c
2
pam.c
@ -1,4 +1,4 @@
|
||||
#define _XOPEN_SOURCE 500
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <pwd.h>
|
||||
#include <security/pam_appl.h>
|
||||
#include <stdbool.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _XOPEN_SOURCE 500
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <pwd.h>
|
||||
|
1
render.c
1
render.c
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 199506L
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <wayland-client.h>
|
||||
|
Loading…
Reference in New Issue
Block a user