diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/CMakeLists.txt | 7 | ||||
-rw-r--r-- | common/ipc-client.c | 3 | ||||
-rw-r--r-- | common/log.c | 1 | ||||
-rw-r--r-- | common/stringop.c | 1 | ||||
-rw-r--r-- | common/util.c | 1 |
5 files changed, 5 insertions, 8 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 3d6e0fb9..11119eeb 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt | |||
@@ -13,10 +13,3 @@ add_library(sway-common STATIC | |||
13 | ) | 13 | ) |
14 | 14 | ||
15 | target_link_libraries(sway-common m) | 15 | target_link_libraries(sway-common m) |
16 | |||
17 | if(Backtrace_FOUND) | ||
18 | set_target_properties(sway-common | ||
19 | PROPERTIES | ||
20 | COMPILE_FLAGS "-include ${Backtrace_HEADER}" | ||
21 | ) | ||
22 | endif() | ||
diff --git a/common/ipc-client.c b/common/ipc-client.c index d011bd26..1ab6627b 100644 --- a/common/ipc-client.c +++ b/common/ipc-client.c | |||
@@ -1,5 +1,6 @@ | |||
1 | #include <stdint.h> | 1 | #define _POSIX_C_SOURCE 2 |
2 | #include <stdio.h> | 2 | #include <stdio.h> |
3 | #include <stdint.h> | ||
3 | #include <stdlib.h> | 4 | #include <stdlib.h> |
4 | #include <string.h> | 5 | #include <string.h> |
5 | #include <sys/socket.h> | 6 | #include <sys/socket.h> |
diff --git a/common/log.c b/common/log.c index 825b176b..c3809c69 100644 --- a/common/log.c +++ b/common/log.c | |||
@@ -1,3 +1,4 @@ | |||
1 | #define _POSIX_C_SOURCE 1 | ||
1 | #include <errno.h> | 2 | #include <errno.h> |
2 | #include <libgen.h> | 3 | #include <libgen.h> |
3 | #include <signal.h> | 4 | #include <signal.h> |
diff --git a/common/stringop.c b/common/stringop.c index 432bee7f..99e9636d 100644 --- a/common/stringop.c +++ b/common/stringop.c | |||
@@ -1,3 +1,4 @@ | |||
1 | #define _XOPEN_SOURCE 500 | ||
1 | #include <stdlib.h> | 2 | #include <stdlib.h> |
2 | #include <stdio.h> | 3 | #include <stdio.h> |
3 | #include <string.h> | 4 | #include <string.h> |
diff --git a/common/util.c b/common/util.c index 73704afd..12ed0cdc 100644 --- a/common/util.c +++ b/common/util.c | |||
@@ -3,6 +3,7 @@ | |||
3 | #include <stdio.h> | 3 | #include <stdio.h> |
4 | #include <stdlib.h> | 4 | #include <stdlib.h> |
5 | #include <string.h> | 5 | #include <string.h> |
6 | #include <strings.h> | ||
6 | #include <wlc/wlc.h> | 7 | #include <wlc/wlc.h> |
7 | #include <xkbcommon/xkbcommon-names.h> | 8 | #include <xkbcommon/xkbcommon-names.h> |
8 | #include "log.h" | 9 | #include "log.h" |