mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
client/slave: explictly add ‘extern char **environ’
It’s not in any header files on FreeBSD.
This commit is contained in:
parent
261797ec56
commit
fd414f79be
2 changed files with 4 additions and 0 deletions
2
slave.c
2
slave.c
|
|
@ -23,6 +23,8 @@
|
|||
#include "tokenize.h"
|
||||
#include "xmalloc.h"
|
||||
|
||||
extern char **environ;
|
||||
|
||||
static bool
|
||||
is_valid_shell(const char *shell)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue