nanogui: Thread: [PATCH] src/demos/nxscribble/hre.h: #include for wchar_t typedef


[<<] [<] Page 1 of 1 [>] [>>]
Subject: [PATCH] src/demos/nxscribble/hre.h: #include for wchar_t typedef
From: ####@####.####
Date: 4 May 2010 10:09:52 -0000
Message-Id: <20100504100945.GA4795@localhost>

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 ####@####.####
---
 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

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.