summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ninja.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ninja.cc b/src/ninja.cc
index 2b250b7..cc43325 100644
--- a/src/ninja.cc
+++ b/src/ninja.cc
@@ -15,6 +15,7 @@
#include <errno.h>
#include <limits.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>