diff options
Diffstat (limited to 'nuttx/include/sys/types.h')
-rw-r--r-- | nuttx/include/sys/types.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 <nuttx/config.h> #include <arch/types.h> /************************************************************ @@ -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; |