summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--sway/commands.c1
-rw-r--r--sway/main.c1
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)
2project(sway C) 2project(sway C)
3set(CMAKE_C_FLAGS "-g") 3set(CMAKE_C_FLAGS "-g")
4set(CMAKE_C_STANDARD 99) 4set(CMAKE_C_STANDARD 99)
5SET(CMAKE_C_EXTENSIONS OFF)
5set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "bin/") 6set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "bin/")
6add_definitions("-Wall -Wextra -Wno-unused-parameter") 7add_definitions("-Wall -Wextra -Wno-unused-parameter")
7set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMake) 8set(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"