Module: xenomai-forge
Branch: master
Commit: f47a5e2958a688450ed498579addb44138b2cf7e
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=f47a5e2958a688450ed498579addb44138b2cf7e

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Fri Dec 28 18:56:25 2012 +0100

posix: include stddef.h in stdio.h to get size_t defined

---

 include/cobalt/stdio.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/include/cobalt/stdio.h b/include/cobalt/stdio.h
index 60398c7..4a88778 100644
--- a/include/cobalt/stdio.h
+++ b/include/cobalt/stdio.h
@@ -2,9 +2,10 @@
 
 #include_next <stdio.h>
 
-#ifndef STDIO_H
-#define STDIO_H
+#ifndef _COBALT_STDIO_H
+#define _COABLT_STDIO_H
 
+#include <stddef.h>
 #include <stdarg.h>
 #include <cobalt/wrappers.h>
 
@@ -46,6 +47,6 @@ COBALT_DECL(size_t, fwrite(const void *ptr, size_t sz, size_t 
nmemb, FILE *strea
 }
 #endif /* __cplusplus */
 
-#endif /* STDIO_H */
+#endif /* _COBALT_STDIO_H */
 
 #endif /* !__KERNEL__ */


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to