From eed258cba1cae84fc11312bf6d6dbfbee7448cb3 Mon Sep 17 00:00:00 2001
From: Tavian Barnes <tavianator@tavianator.com>
Date: Tue, 17 Sep 2024 12:25:29 -0400
Subject: 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 6b51d85..9d4323d 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 <errno.h>
 #include <limits.h>
-- 
cgit v1.2.3