summary refs log tree commit diff
path: root/pkgs/development/libraries/coin3d/gcc-4.8.patch
blob: be5b8b03b6382726abbddba4d0fe51df3fe27388 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From 9f5d96a2b9a71ab539237d2dab4c54fc46fc5c5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu@corsepiu.home>
Date: Thu, 18 Apr 2013 19:17:06 +0200
Subject: [PATCH 10/10] GCC-4.8.0 fixes

---
 src/fonts/freetype.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/fonts/freetype.cpp b/src/fonts/freetype.cpp
index 760b88b..e705d3a 100644
--- a/src/fonts/freetype.cpp
+++ b/src/fonts/freetype.cpp
@@ -32,18 +32,18 @@
 
    20050613 mortene. */
 
-#include "fonts/freetype.h"
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif /* HAVE_CONFIG_H */
 
-#include <stdlib.h>
+#include <cstdlib>
 #include <assert.h>
 
 #include "glue/freetype.h"
 #include "glue/GLUWrapper.h"
 
+#include "fonts/freetype.h"
+
 /* ************************************************************************* */
 
 #ifdef __cplusplus
-- 
1.8.1.4