=== modified file 'src/canvas.h'
@@ -29,7 +29,7 @@
#include "mat.h"
#include "gl-visual-config.h"
-#include <sys/types.h>
+#include <stdint.h>
#include <string>
#include <stdio.h>
#include <cmath>
=== modified file 'src/model.h'
@@ -24,6 +24,7 @@
#ifndef GLMARK2_MODEL_H_
#define GLMARK2_MODEL_H_
+#include <stdint.h>
#include <string>
#include <vector>
#include <map>
=== modified file 'src/scene-terrain/renderer.h'
@@ -19,6 +19,7 @@
* Authors:
* Alexandros Frantzis
*/
+#include <stdint.h>
#include <vector>
#include "mesh.h"
=== modified file 'wscript'
@@ -36,7 +36,7 @@
ctx.check_tool('compiler_cxx')
# Check required headers
- req_headers = ['stdlib.h', 'string.h', 'unistd.h', 'fcntl.h', 'stdio.h', 'jpeglib.h']
+ req_headers = ['stdlib.h', 'string.h', 'stdint.h', 'stdio.h', 'jpeglib.h']
for header in req_headers:
ctx.check_cxx(header_name = header, auto_add_header_name = True, mandatory = True)