]> git.ipfire.org Git - thirdparty/libbsd.git/commit
Declare environ if the system does not do so
authorGuillem Jover <guillem@hadrons.org>
Sat, 1 Apr 2023 10:41:42 +0000 (12:41 +0200)
committerGuillem Jover <guillem@hadrons.org>
Mon, 17 Apr 2023 02:12:42 +0000 (04:12 +0200)
commit44824aca3cae1a3908f80216ff8e53f859d16dc4
treea1183aa79f8f8cfbbdc46501cbdadb460db540a9
parent1fb6c3f4ce2ebd43312f182a77ee407408002cc8
Declare environ if the system does not do so

The environ variable is supposed to be defined by the code using it, but
on glibc-based systems it will get defined if we request it, by including
<unistd.h> and defining _GNU_SOURCE.
configure.ac
src/setproctitle.c