blob: cc16effc25c5fd971ea637daf5698f7201c07426 [file] [log] [blame]
Yann E. MORIN303c9222012-12-16 06:56:12 +00001includes: ptrdiff_t is defined in stddef.h
2
3ptrdiff_t is defined in the stddef.h header, so this
4header must be included.
5
6Do the #include in a common header to avoid doing it
7all over the place.
8
9Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10
11---
12Patch not sent upstream, it's a no-longer-maintained branch.
13To be noted, however, is that the current devel branch is
14still missing that include.
15
16diff -durN cegui06-0.6.2.orig/include/CEGUIBase.h cegui06-0.6.2/include/CEGUIBase.h
17--- cegui06-0.6.2.orig//include/CEGUIBase.h 2008-02-11 15:38:27.000000000 +0100
18+++ cegui06-0.6.2/include/CEGUIBase.h 2012-08-19 22:51:50.260385978 +0200
19@@ -34,6 +34,7 @@
20 #define _CEGUIBase_h_
21
22 #include <cassert>
23+#include <stddef.h>
24
25 // bring in configuration options
26 #include "CEGUIConfig.h"