OSDN Git Service

declare environ in unistd.h when _GNU_SOURCE feature test macro is used
authorRich Felker <dalias@aerifal.cx>
Sat, 2 Jun 2012 20:51:04 +0000 (16:51 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 2 Jun 2012 20:51:04 +0000 (16:51 -0400)
commitd200bd727beab4f687e4891e2febc16b4ab97020
tree1e4f394843596ff3ef44696652c50b9bbf59758d
parent19e48c5531fda9c4767b99b754cb9345902dd100
declare environ in unistd.h when _GNU_SOURCE feature test macro is used

lots of broken programs expect this, and it's gotten to the point of
being a troubleshooting FAQ topic. best to just fix it.
include/unistd.h