sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 8e25ce4e5763c74864587b0a78217eb20c299afe
parent e505abfe75923d06098f6230e5a7ba39c091d3ce
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 18 Sep 2015 07:16:20 -0400

Fix build for debian stretch

Fixes #182

Diffstat:
MCMakeLists.txt | 1+
Msway/commands.c | 1+
Msway/main.c | 1+
3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.8.5) project(sway C) set(CMAKE_C_FLAGS "-g") set(CMAKE_C_STANDARD 99) +SET(CMAKE_C_EXTENSIONS OFF) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "bin/") add_definitions("-Wall -Wextra -Wno-unused-parameter") set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMake) diff --git a/sway/commands.c b/sway/commands.c @@ -7,6 +7,7 @@ #include <string.h> #include <unistd.h> #include <ctype.h> +#include <sys/types.h> #include "stringop.h" #include "layout.h" #include "focus.h" diff --git a/sway/main.c b/sway/main.c @@ -3,6 +3,7 @@ #include <stdbool.h> #include <wlc/wlc.h> #include <sys/wait.h> +#include <sys/types.h> #include <signal.h> #include <getopt.h> #include "layout.h"