spchcat icon indicating copy to clipboard operation
spchcat copied to clipboard

Use feature test to expose `setenv`

Open msbit opened this issue 2 years ago • 0 comments

As per the man page, setenv requires _POSIX_C_SOURCE >= 200112L to be defined before including the appropriate header file (stdlib.h). As the other included header files include some standard headers transitively, this needs to go above all includes.

msbit avatar Jul 01 '22 05:07 msbit