From 630b4bdd3d2ca967f0e1d4f438f7f1761461dd31 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 20 Feb 2007 22:39:56 +0000 Subject: Eliminating GCC dependencies git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@14 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/include/sys/types.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nuttx/include/sys') diff --git a/nuttx/include/sys/types.h b/nuttx/include/sys/types.h index 4cebb48a9..82f7046d2 100644 --- a/nuttx/include/sys/types.h +++ b/nuttx/include/sys/types.h @@ -40,6 +40,7 @@ * Included Files ************************************************************/ +#include #include /************************************************************ @@ -110,6 +111,12 @@ * Type Declarations ************************************************************/ +#ifndef CONFIG_HAVE_DOUBLE +typedef float double_t; +#else +typedef double double_t; +#endif + /* Misc. scalar types */ typedef uint32 mode_t; -- cgit v1.2.3