From d7d4a0d765d12cc152c62a37b490702c39d76447 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 14 Dec 2009 23:32:23 +0000 Subject: Switching to C99 stdint.h types git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2340 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/include/dirent.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'nuttx/include/dirent.h') diff --git a/nuttx/include/dirent.h b/nuttx/include/dirent.h index 8e0226450..049b621a6 100644 --- a/nuttx/include/dirent.h +++ b/nuttx/include/dirent.h @@ -1,7 +1,7 @@ /**************************************************************************** * include/dirent.h * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -41,11 +41,13 @@ ****************************************************************************/ #include + #include +#include #include /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ /* File type code for the d_type field in dirent struct. @@ -75,7 +77,7 @@ struct dirent { - ubyte d_type; /* type of file */ + uint8_t d_type; /* type of file */ char d_name[NAME_MAX+1]; /* filename */ }; -- cgit v1.2.3