gspawn: Declare environe14c853d9a8f2ba9949e11b32ccab56b940ba57f134/head
commite14c853d9a8f2ba9949e11b32ccab56b940ba57f
authorTing-Wei Lan <lantw@src.gnome.org>
Sat, 23 Jun 2018 08:07:02 +0000 (23 16:07 +0800)
committerTing-Wei Lan <lantw@src.gnome.org>
Sat, 23 Jun 2018 08:11:19 +0000 (23 16:11 +0800)
tree5226f12a5f135e1ce14fc903c4b70d553b6598c6
parent0f77dc847bb2e32c8df5491f9bac552b84e490e7
gspawn: Declare environ

Function do_posix_spawn uses environ, but gspawn.c doesn't declare it.
Since there is no system header declaring this global variable, this
causes compilation error on FreeBSD.

Code added in this commit is copied from genviron.c.
glib/gspawn.c