From 17f49950da91137366910183f616d15b8bbf580c Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 10 Jul 2018 15:00:13 -0700 Subject: util: move process.[ch] to u_process.[ch] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On windows process.h is a system provided header, and it's required in include/c11/threads_win32.h. This header interferes with searching for that header, and results in windows build warnings with scons, but errors in meson which doesn't allow implicit function declarations. Just rename process to u_process, which follows the style of utils anyway. Fixes: 2e1e6511f76370870b5cde10caa9ca3b6d0dc65f ("util: extract get_process_name from xmlconfig.c") Signed-off-by: Dylan Baker Reviewed-by: Marek Olšák --- src/util/xmlconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/xmlconfig.c') diff --git a/src/util/xmlconfig.c b/src/util/xmlconfig.c index d3847911baa..ba657294c1c 100644 --- a/src/util/xmlconfig.c +++ b/src/util/xmlconfig.c @@ -37,7 +37,7 @@ #include #include #include "xmlconfig.h" -#include "process.h" +#include "u_process.h" /** \brief Find an option in an option cache with the name as key */ -- cgit v1.2.3