From 999d182db86da07aeb7491a4b918abbd84e03d75 Mon Sep 17 00:00:00 2001 From: David Cleaver <11787-x-dcleav@users.noreply.gitlab.inria.fr> Date: Fri, 28 Jun 2024 23:38:17 +0200 Subject: [PATCH] Improve sys/resource.h include logic --- LucasChainGenerator/src/LucasChainGen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LucasChainGenerator/src/LucasChainGen.c b/LucasChainGenerator/src/LucasChainGen.c index a53d1d44..a88dd23f 100644 --- a/LucasChainGenerator/src/LucasChainGen.c +++ b/LucasChainGenerator/src/LucasChainGen.c @@ -24,7 +24,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #include <stdlib.h> #include <string.h> #include <stdint.h> -#ifndef _MSC_VER +#ifdef HAVE_SYS_RESOURCE_H # include <sys/resource.h> #endif #include <time.h> -- GitLab