From: Pierre-Eric Pelloux-Prayer Date: Tue, 24 Mar 2020 15:12:26 +0000 (+0100) Subject: util/u_process: fix Windows build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd22a0f710ca48a49948a6463228c0d01d2fa74f;p=mesa.git util/u_process: fix Windows build Reported by Brian Paul. Fixes: f8f1413070a ("util/u_process: add util_get_process_exec_path") Reviewed-by: Brian Paul Reviewed-by: Daniel Stone Tested-by: Marge Bot Part-of: --- diff --git a/src/util/u_process.c b/src/util/u_process.c index 686e4624429..0454760f471 100644 --- a/src/util/u_process.c +++ b/src/util/u_process.c @@ -31,12 +31,13 @@ #include #include #include -#include #undef GET_PROGRAM_NAME #if DETECT_OS_WINDOWS #include +#else +#include #endif #if defined(__linux__) && defined(HAVE_PROGRAM_INVOCATION_NAME)