diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | sway/commands.c | 1 | ||||
-rw-r--r-- | sway/main.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index afad8123..09f37d6d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.8.5) | |||
2 | project(sway C) | 2 | project(sway C) |
3 | set(CMAKE_C_FLAGS "-g") | 3 | set(CMAKE_C_FLAGS "-g") |
4 | set(CMAKE_C_STANDARD 99) | 4 | set(CMAKE_C_STANDARD 99) |
5 | SET(CMAKE_C_EXTENSIONS OFF) | ||
5 | set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "bin/") | 6 | set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "bin/") |
6 | add_definitions("-Wall -Wextra -Wno-unused-parameter") | 7 | add_definitions("-Wall -Wextra -Wno-unused-parameter") |
7 | set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMake) | 8 | set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMake) |
diff --git a/sway/commands.c b/sway/commands.c index e79746ae..71eb9d70 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -7,6 +7,7 @@ | |||
7 | #include <string.h> | 7 | #include <string.h> |
8 | #include <unistd.h> | 8 | #include <unistd.h> |
9 | #include <ctype.h> | 9 | #include <ctype.h> |
10 | #include <sys/types.h> | ||
10 | #include "stringop.h" | 11 | #include "stringop.h" |
11 | #include "layout.h" | 12 | #include "layout.h" |
12 | #include "focus.h" | 13 | #include "focus.h" |
diff --git a/sway/main.c b/sway/main.c index e03588ea..97243f99 100644 --- a/sway/main.c +++ b/sway/main.c | |||
@@ -3,6 +3,7 @@ | |||
3 | #include <stdbool.h> | 3 | #include <stdbool.h> |
4 | #include <wlc/wlc.h> | 4 | #include <wlc/wlc.h> |
5 | #include <sys/wait.h> | 5 | #include <sys/wait.h> |
6 | #include <sys/types.h> | ||
6 | #include <signal.h> | 7 | #include <signal.h> |
7 | #include <getopt.h> | 8 | #include <getopt.h> |
8 | #include "layout.h" | 9 | #include "layout.h" |