]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/decode_binobj.cxx
Make tsync part of libSimGearCore when building shared libraries
[simgear.git] / simgear / io / decode_binobj.cxx
index 302648bda8f67c5668483d5368d1918a5bcf710d..0c4a99226841cb3655200bca76bfc6b2e884382d 100644 (file)
@@ -4,8 +4,13 @@
 
 #include <simgear/compiler.h>
 
+#ifndef _WIN32
 #include <unistd.h>
+#endif
+
 #include <iostream>
+#include <cstdlib>
+#include <cstdio>
 
 #include "sg_binobj.hxx"
 
@@ -63,7 +68,7 @@ int main( int argc, char **argv ) {
     cout << "# geometry groups" << endl;
     cout << endl;
 
-    string material;
+    std::string material;
     int_list vertex_index;
     int_list normal_index;
     int_list tex_index;