nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/src/pies.c b/src/pies.c
2index 9355d50..9fe6109 100644
3--- a/src/pies.c
4+++ b/src/pies.c
5@@ -19,6 +19,7 @@
6 #include <configmake.h>
7 #include "meta1parse.h"
8 #include "grecsasrt.h"
9+#include <stdlib.h>
10
11 int preprocess_only; /* Preprocess config, do nothing more */
12 int lint_mode; /* Test configuration syntax and exit */
13diff --git a/src/piesctl.c b/src/piesctl.c
14index a0ac967..fd6c3e2 100644
15--- a/src/piesctl.c
16+++ b/src/piesctl.c
17@@ -14,6 +14,7 @@
18 You should have received a copy of the GNU General Public License
19 along with GNU Pies. If not, see <http://www.gnu.org/licenses/>. */
20
21+#include <stdlib.h>
22 #include <config.h>
23 #include <sys/types.h>
24 #include <sys/socket.h>