Bring in declaration of atoi
authorDave Abrahams <dave@boostpro.com>
Fri, 8 Mar 2013 21:18:12 +0000 (13:18 -0800)
committerDave Abrahams <dave@boostpro.com>
Fri, 8 Mar 2013 21:18:12 +0000 (13:18 -0800)
./bootstrap.py fails on some platforms without this include

src/ninja.cc

index 2b250b7..cc43325 100644 (file)
@@ -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>