changeset 319:b843eef4cc35

misc: fix some warnings
author David Demelier <markand@malikania.fr>
date Fri, 01 Oct 2021 14:10:06 +0200
parents d3505c23a409
children 8f9937403749
files CMakeLists.txt libmlk-adventure/adventure/state/map.c libmlk-rpg/rpg/save.c
diffstat 3 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Wed Sep 29 21:59:00 2021 +0200
+++ b/CMakeLists.txt	Fri Oct 01 14:10:06 2021 +0200
@@ -17,7 +17,7 @@
 #
 
 cmake_minimum_required(VERSION 3.20)
-project(molko)
+project(molko C)
 
 set_property(GLOBAL PROPERTY USE_FOLDERS On)
 
--- a/libmlk-adventure/adventure/state/map.c	Wed Sep 29 21:59:00 2021 +0200
+++ b/libmlk-adventure/adventure/state/map.c	Fri Oct 01 14:10:06 2021 +0200
@@ -21,6 +21,8 @@
 #include <stdio.h>
 #include <string.h>
 
+#include <port/port.h>
+
 #include <core/event.h>
 #include <core/image.h>
 #include <core/painter.h>
--- a/libmlk-rpg/rpg/save.c	Wed Sep 29 21:59:00 2021 +0200
+++ b/libmlk-rpg/rpg/save.c	Fri Oct 01 14:10:06 2021 +0200
@@ -23,6 +23,8 @@
 
 #include <sqlite3.h>
 
+#include <port/port.h>
+
 #include <core/error.h>
 #include <core/sys.h>
 #include <core/util.h>