From 3db005bcaeaca0f3d0a11e3627460cfccd28f0fb Mon Sep 17 00:00:00 2001 From: Edward Emelianov Date: Thu, 29 Oct 2026 20:53:24 +0300 Subject: [PATCH] .. --- CMakeLists.txt | 2 +- client.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 87f5c13..6f18703 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ option(EXAMPLES "Some examples" OFF) option(ASTAR "Artifical star plugin" OFF) # default flags -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W -Wextra -fno-builtin-strlen") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -W -Wextra -fno-builtin-strlen") message("Install dir prefix: ${CMAKE_INSTALL_PREFIX}") if(NOT DEFINED LOCALEDIR) diff --git a/client.c b/client.c index 9c05a77..cef499b 100644 --- a/client.c +++ b/client.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include