Fixes a compiling error probably mainly for uClibc but the patch shouldn't
break anything for standard libc users, since stddef.h is the place to
define wchar_t: http://en.wikipedia.org/wiki/Stddef.h

Signed-off-by: Daniel Nyström <daniel.nyst...@timeterminal.se>
---
 src/demos/nxscribble/hre.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/demos/nxscribble/hre.h b/src/demos/nxscribble/hre.h
index 62f1e53..d1d4fa7 100644
--- a/src/demos/nxscribble/hre.h
+++ b/src/demos/nxscribble/hre.h
@@ -25,6 +25,7 @@
 
 #include <sys/types.h>
 #include <stdlib.h>
+#include <stddef.h>
 /*#include <libintl.h>*/
 
 #if defined(ELX)||defined(BLACKFIN)
-- 
1.7.0.4


---------------------------------------------------------------------
To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org
For additional commands, e-mail: nanogui-h...@linuxhacker.org

Reply via email to