Subject: encfs build fails: stdlib.h: No such file or directory

From: Pierre Neidhardt <[email-masked]>
Date: Wed, 16 Oct 2019 20:24:29 +0200

Since the move to gcc 7, encfs cannot be built:

--8<---------------cut here---------------start------------->8---
In file included from /tmp/guix-build-encfs-1.9.5.drv-0/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.h:340:0,
								 from /tmp/guix-build-encfs-1.9.5.drv-0/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:17:
/gnu/store/x3jx25cd3q363mr7nbgzrhrv1vza6cf7-gcc-7.4.0/include/c++/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
 #include_next <stdlib.h>
							 ^~~~~~~~~~
compilation terminated.
--8<---------------cut here---------------end--------------->8---

Any idea how to fix this cleanly?

-- 
Pierre Neidhardt
https://ambrevar.xyz/