Skip to content

Commit

Permalink
opt: #include "xspawn.h" before #ifdef POSIX_SPAWN_SETRLIMIT
Browse files Browse the repository at this point in the history
Fixes: 65a7814 ("opt: Don't raise RLIMIT_NOFILE if it would prevent using posix_spawn()")
  • Loading branch information
tavianator committed Sep 17, 2024
1 parent b1a9998 commit eed258c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/opt.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include "expr.h"
#include "list.h"
#include "pwcache.h"
#include "xspawn.h"

#include <errno.h>
#include <limits.h>
Expand Down

0 comments on commit eed258c

Please sign in to comment.