diff options
author | Dylan Baker <[email protected]> | 2018-07-10 15:00:13 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-08-01 12:47:16 -0700 |
commit | 17f49950da91137366910183f616d15b8bbf580c (patch) | |
tree | 4d3c1dbcf8c588a24adccba262d2d6dd4e9b5130 /src/util/xmlconfig.c | |
parent | cb6b241c301d5352a5bcaab52bbfaf89e700b2b2 (diff) |
util: move process.[ch] to u_process.[ch]
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 <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/util/xmlconfig.c')
-rw-r--r-- | src/util/xmlconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <unistd.h> #include <errno.h> #include "xmlconfig.h" -#include "process.h" +#include "u_process.h" /** \brief Find an option in an option cache with the name as key */ |