Added include requirements for errno, printf, getenv
Closes #1419.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/1419
MOS_MIGRATED_REVID=127326203
diff --git a/src/main/cpp/blaze_util_linux.cc b/src/main/cpp/blaze_util_linux.cc
index 0685037..aea1943 100644
--- a/src/main/cpp/blaze_util_linux.cc
+++ b/src/main/cpp/blaze_util_linux.cc
@@ -16,6 +16,8 @@
#include <limits.h>
#include <pwd.h>
#include <signal.h>
+#include <stdio.h>
+#include <stdlib.h>
#include <string.h> // strerror
#include <sys/socket.h>
#include <sys/statfs.h>
diff --git a/src/main/cpp/blaze_util_posix.cc b/src/main/cpp/blaze_util_posix.cc
index 625b291..bc06712 100644
--- a/src/main/cpp/blaze_util_posix.cc
+++ b/src/main/cpp/blaze_util_posix.cc
@@ -12,9 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <signal.h>
+#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>