mirror of
https://github.com/swaywm/sway.git
synced 2026-04-25 06:46:24 -04:00
C: Handle _POSIX_C_SOURCE macro properly
This commit is contained in:
parent
31b4b96ebf
commit
539ef77bfa
97 changed files with 393 additions and 5 deletions
|
|
@ -1,4 +1,8 @@
|
|||
#define _POSIX_C_SOURCE 200809
|
||||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <cairo.h>
|
||||
#include <fcntl.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200112L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200112L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <fcntl.h>
|
||||
#include <math.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#define _POSIX_C_SOURCE 200809
|
||||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#define _POSIX_C_SOURCE 200809
|
||||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include "sway/commands.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "config.h"
|
||||
#include "sway/commands.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include "sway/commands.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include "sway/commands.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "config.h"
|
||||
#include "sway/commands.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <libevdev/libevdev.h>
|
||||
#include <linux/input-event-codes.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include "sway/config.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include "sway/config.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <wlr/types/wlr_box.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include "sway/config.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include "sway/config.h"
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include "sway/config.h"
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include "sway/config.h"
|
||||
#include "sway/commands.h"
|
||||
#include "util.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include "sway/config.h"
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include "sway/config.h"
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include "sway/config.h"
|
||||
#include "sway/commands.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include "sway/config.h"
|
||||
#include "sway/commands.h"
|
||||
#include "log.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
#include <stdbool.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <libgen.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <linux/input-event-codes.h>
|
||||
|
||||
#include <strings.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <strings.h>
|
||||
#include "config.h"
|
||||
#include "log.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include "sway/commands.h"
|
||||
#include "sway/config.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <limits.h>
|
||||
#include <float.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <strings.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <GLES2/gl2.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200112L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <wlr/types/wlr_surface.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 199309L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 199309L
|
||||
#endif
|
||||
|
||||
#include <float.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 199309L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 199309L
|
||||
#endif
|
||||
|
||||
#include <float.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <libevdev/libevdev.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <linux/input-event-codes.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <float.h>
|
||||
#include <libevdev/libevdev.h>
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <float.h>
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
#include <wlr/types/wlr_tablet_v2.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
#include "sway/desktop.h"
|
||||
#include "sway/desktop/transaction.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
#include <wlr/util/edges.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
#include <wlr/types/wlr_xcursor_manager.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
#include <wlr/util/edges.h>
|
||||
#include "sway/commands.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <wlr/backend/libinput.h>
|
||||
#include <wlr/types/wlr_tablet_v2.h>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
// See https://i3wm.org/docs/ipc.html for protocol information
|
||||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200112L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
#endif
|
||||
|
||||
#include <linux/input-event-codes.h>
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <getopt.h>
|
||||
#include <pango/pangocairo.h>
|
||||
#include <signal.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <drm_fourcc.h>
|
||||
#include <stdint.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include "sway/output.h"
|
||||
#include "sway/server.h"
|
||||
#include "sway/tree/container.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <strings.h>
|
||||
#include <wayland-server-core.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#define _POSIX_C_SOURCE 200809
|
||||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <stdbool.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "swaybar/config.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <json.h>
|
||||
#include <linux/input-event-codes.h>
|
||||
#include <ctype.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#define _POSIX_C_SOURCE 200809
|
||||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
#include <poll.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <linux/input-event-codes.h>
|
||||
#include <limits.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <dirent.h>
|
||||
#include <stdbool.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <cairo.h>
|
||||
#include <limits.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <getopt.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <signal.h>
|
||||
#include "log.h"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <getopt.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue