aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoranton <haglundanton+github@gmail.com>2014-04-18 17:52:06 +0200
committeranton <haglundanton+github@gmail.com>2014-04-18 17:52:06 +0200
commit2ce2af9d023e2dbe16e9f583d3a7ebd87d65eb6f (patch)
treec948f875d9d757257a1654b81adefe027abf7611 /examples
parent6b8e3900c62fdc92c6f7ed4583a2f33567b9beff (diff)
downloadtinyobjloader-2ce2af9d023e2dbe16e9f583d3a7ebd87d65eb6f.tar.gz
add missing includes
Signed-off-by: anton <haglundanton+github@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/obj_sticher/obj_sticher.cc2
-rw-r--r--examples/obj_sticher/obj_writer.cc1
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/obj_sticher/obj_sticher.cc b/examples/obj_sticher/obj_sticher.cc
index 296d384..1d230b8 100644
--- a/examples/obj_sticher/obj_sticher.cc
+++ b/examples/obj_sticher/obj_sticher.cc
@@ -6,6 +6,8 @@
#include <cassert>
#include <iostream>
+#include <cstdlib>
+#include <cstdio>
typedef std::vector<tinyobj::shape_t> Shape;
diff --git a/examples/obj_sticher/obj_writer.cc b/examples/obj_sticher/obj_writer.cc
index 1cad9de..f44d3f3 100644
--- a/examples/obj_sticher/obj_writer.cc
+++ b/examples/obj_sticher/obj_writer.cc
@@ -2,6 +2,7 @@
// Simple wavefront .obj writer
//
#include "obj_writer.h"
+#include <cstdio>
static std::string GetFileBasename(const std::string& FileName)
{