aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMake/Wayland.cmake4
-rw-r--r--sway/extensions.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/CMake/Wayland.cmake b/CMake/Wayland.cmake
index c6015305..f9349667 100644
--- a/CMake/Wayland.cmake
+++ b/CMake/Wayland.cmake
@@ -35,7 +35,7 @@ find_program(WAYLAND_SCANNER_EXECUTABLE NAMES wayland-scanner)
# wayland_add_protocol_client(outfiles inputfile basename)
function(WAYLAND_ADD_PROTOCOL_CLIENT _sources _protocol _basename)
if(NOT WAYLAND_SCANNER_EXECUTABLE)
- message(FATAL "The wayland-scanner executable has nto been found on your system. You must install it.")
+ message(FATAL "The wayland-scanner executable has not been found on your system. You must install it.")
endif()
get_filename_component(_infile ${_protocol} ABSOLUTE)
@@ -57,7 +57,7 @@ endfunction()
# wayland_add_protocol_server(outfiles inputfile basename)
function(WAYLAND_ADD_PROTOCOL_SERVER _sources _protocol _basename)
if(NOT WAYLAND_SCANNER_EXECUTABLE)
- message(FATAL "The wayland-scanner executable has nto been found on your system. You must install it.")
+ message(FATAL "The wayland-scanner executable has not been found on your system. You must install it.")
endif()
get_filename_component(_infile ${_protocol} ABSOLUTE)
diff --git a/sway/extensions.c b/sway/extensions.c
index 35a2632e..aa51b474 100644
--- a/sway/extensions.c
+++ b/sway/extensions.c
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#include <wlc/wlc.h>
#include <wlc/wlc-wayland.h>
#include "wayland-desktop-shell-server-protocol.h"