From eed258cba1cae84fc11312bf6d6dbfbee7448cb3 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 17 Sep 2024 12:25:29 -0400 Subject: [PATCH] opt: #include "xspawn.h" before #ifdef POSIX_SPAWN_SETRLIMIT Fixes: 65a7814 ("opt: Don't raise RLIMIT_NOFILE if it would prevent using posix_spawn()") --- src/opt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/opt.c b/src/opt.c index 6b51d855..9d4323df 100644 --- a/src/opt.c +++ b/src/opt.c @@ -40,6 +40,7 @@ #include "expr.h" #include "list.h" #include "pwcache.h" +#include "xspawn.h" #include #include