diff options
author | 2017-07-08 08:20:36 -0400 | |
---|---|---|
committer | 2017-07-08 08:20:36 -0400 | |
commit | 88120cfbbeaee8ee4ca49fc915eca209fa8cbb78 (patch) | |
tree | 80a3b14f5823df3d8d752fd2cd586af7331b3a4a /swaybar/tray | |
parent | Make asciidoc (and man pages) optional (diff) | |
parent | Adjust _XOPEN_SOURCE value for build on FreeBSD and fix pointer comparison er... (diff) | |
download | sway-88120cfbbeaee8ee4ca49fc915eca209fa8cbb78.tar.gz sway-88120cfbbeaee8ee4ca49fc915eca209fa8cbb78.tar.zst sway-88120cfbbeaee8ee4ca49fc915eca209fa8cbb78.zip |
Merge pull request #1265 from johalun/master-freebsd
Adjust _XOPEN_SOURCE value for build on FreeBSD and fix pointer compa…
Diffstat (limited to 'swaybar/tray')
-rw-r--r-- | swaybar/tray/dbus.c | 2 | ||||
-rw-r--r-- | swaybar/tray/icon.c | 2 | ||||
-rw-r--r-- | swaybar/tray/tray.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/swaybar/tray/dbus.c b/swaybar/tray/dbus.c index 22531aa6..2a8cefc7 100644 --- a/swaybar/tray/dbus.c +++ b/swaybar/tray/dbus.c | |||
@@ -1,4 +1,4 @@ | |||
1 | #define _XOPEN_SOURCE 500 | 1 | #define _XOPEN_SOURCE 700 |
2 | #include <stdio.h> | 2 | #include <stdio.h> |
3 | #include <stdlib.h> | 3 | #include <stdlib.h> |
4 | #include <stdint.h> | 4 | #include <stdint.h> |
diff --git a/swaybar/tray/icon.c b/swaybar/tray/icon.c index 1c69ba72..c146bf32 100644 --- a/swaybar/tray/icon.c +++ b/swaybar/tray/icon.c | |||
@@ -1,4 +1,4 @@ | |||
1 | #define _XOPEN_SOURCE 500 | 1 | #define _XOPEN_SOURCE 700 |
2 | #define _POSIX_C_SOURCE 200809L | 2 | #define _POSIX_C_SOURCE 200809L |
3 | #include <stdio.h> | 3 | #include <stdio.h> |
4 | #include <stdlib.h> | 4 | #include <stdlib.h> |
diff --git a/swaybar/tray/tray.c b/swaybar/tray/tray.c index 00f1a44f..7634942a 100644 --- a/swaybar/tray/tray.c +++ b/swaybar/tray/tray.c | |||
@@ -1,4 +1,4 @@ | |||
1 | #define _XOPEN_SOURCE 500 | 1 | #define _XOPEN_SOURCE 700 |
2 | #include <unistd.h> | 2 | #include <unistd.h> |
3 | #include <stdlib.h> | 3 | #include <stdlib.h> |
4 | #include <string.h> | 4 | #include <string.h> |