mirror of
https://github.com/swaywm/sway
synced 2024-11-22 16:32:16 +01:00
Define _POSIX_C_SOURCE globally
See discussion in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4555
This commit is contained in:
parent
07b0598526
commit
fc640d5f6c
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809
|
||||
#include <assert.h>
|
||||
#include <cairo.h>
|
||||
#include <errno.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include "gesture.h"
|
||||
|
||||
#include <math.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
#include <signal.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <ctype.h>
|
||||
#include <fcntl.h>
|
||||
#include <math.h>
|
||||
|
@ -14,6 +14,7 @@ project(
|
||||
add_project_arguments(
|
||||
[
|
||||
'-DWLR_USE_UNSTABLE',
|
||||
'-D_POSIX_C_SOURCE=200809L',
|
||||
|
||||
'-Wno-unused-parameter',
|
||||
'-Wno-unused-result',
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include "sway/commands.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include "config.h"
|
||||
#include "sway/commands.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include "sway/commands.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include "sway/commands.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include "config.h"
|
||||
#include "sway/commands.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <libevdev/libevdev.h>
|
||||
#include <linux/input-event-codes.h>
|
||||
#include <string.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include "sway/config.h"
|
||||
|
||||
#include "gesture.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include "sway/config.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include "sway/config.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include "sway/config.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include "sway/config.h"
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include "sway/config.h"
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include "sway/config.h"
|
||||
#include "sway/commands.h"
|
||||
#include "util.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include "sway/config.h"
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include "sway/config.h"
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <wlr/interfaces/wlr_keyboard.h>
|
||||
#include "sway/config.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include "sway/config.h"
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
#include <stdbool.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <libgen.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <linux/input-event-codes.h>
|
||||
|
||||
#include <strings.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <strings.h>
|
||||
#include "config.h"
|
||||
#include "log.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
|
@ -1,3 +1,4 @@
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _XOPEN_SOURCE 700 // for realpath
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <signal.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdlib.h>
|
||||
#include <limits.h>
|
||||
#include <float.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <drm_fourcc.h>
|
||||
#include <stdbool.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <limits.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <wlr/types/wlr_xdg_activation_v1.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <strings.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 199309L
|
||||
#include <float.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 199309L
|
||||
#include <float.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <libevdev/libevdev.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <linux/input-event-codes.h>
|
||||
#include <string.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <float.h>
|
||||
#include <libevdev/libevdev.h>
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <float.h>
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
#include <wlr/types/wlr_tablet_v2.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
#include "sway/desktop/transaction.h"
|
||||
#include "sway/input/cursor.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <limits.h>
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
#include <wlr/util/edges.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <limits.h>
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
#include <wlr/types/wlr_xcursor_manager.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
#include <wlr/util/edges.h>
|
||||
#include "sway/commands.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdlib.h>
|
||||
#include <wlr/config.h>
|
||||
#include <wlr/types/wlr_tablet_v2.h>
|
||||
|
@ -1,5 +1,4 @@
|
||||
// See https://i3wm.org/docs/ipc.html for protocol information
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
#include <linux/input-event-codes.h>
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <wlr/types/wlr_scene.h>
|
||||
#include <wlr/types/wlr_session_lock_v1.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <getopt.h>
|
||||
#include <pango/pangocairo.h>
|
||||
#include <signal.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <drm_fourcc.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <signal.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <ctype.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <drm_fourcc.h>
|
||||
#include <stdint.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include "sway/output.h"
|
||||
#include "sway/server.h"
|
||||
#include "sway/tree/container.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdlib.h>
|
||||
#include <strings.h>
|
||||
#include <wayland-server-core.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <stdbool.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "swaybar/config.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <json.h>
|
||||
#include <linux/input-event-codes.h>
|
||||
#include <ctype.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809
|
||||
#include <limits.h>
|
||||
#include <poll.h>
|
||||
#include <stdio.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <linux/input-event-codes.h>
|
||||
#include <limits.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <ctype.h>
|
||||
#include <dirent.h>
|
||||
#include <stdbool.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <arpa/inet.h>
|
||||
#include <cairo.h>
|
||||
#include <limits.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <getopt.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <stdlib.h>
|
||||
#include <signal.h>
|
||||
#include "log.h"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user