diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 240: Include <stdint.h> to ensure proper builds on all architectures and OSes.

Message ID 20120727091211.31667.84742.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

alexandros.frantzis@linaro.org July 27, 2012, 9:12 a.m. UTC
------------------------------------------------------------
revno: 240
committer: Alexandros Frantzis <alexandros.frantzis@linaro.org>
branch nick: trunk
timestamp: Fri 2012-07-27 12:11:50 +0300
message:
  Include <stdint.h> to ensure proper builds on all architectures and OSes.
modified:
  src/canvas.h
  src/model.h
  src/scene-terrain/renderer.h
  wscript


--
lp:glmark2
https://code.launchpad.net/~glmark2-dev/glmark2/trunk

You are subscribed to branch lp:glmark2.
To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'src/canvas.h'
--- src/canvas.h	2012-05-10 09:03:12 +0000
+++ src/canvas.h	2012-07-27 09:11:50 +0000
@@ -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'
--- src/model.h	2012-05-15 12:44:24 +0000
+++ src/model.h	2012-07-27 09:11:50 +0000
@@ -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'
--- src/scene-terrain/renderer.h	2012-06-29 12:46:57 +0000
+++ src/scene-terrain/renderer.h	2012-07-27 09:11:50 +0000
@@ -19,6 +19,7 @@ 
  * Authors:
  *  Alexandros Frantzis
  */
+#include <stdint.h>
 #include <vector>
 
 #include "mesh.h"

=== modified file 'wscript'
--- wscript	2012-07-19 09:18:25 +0000
+++ wscript	2012-07-27 09:11:50 +0000
@@ -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)