Module: xenomai-2.6 Branch: master Commit: 943a0801349548f85227f7a3032eb6ac0a5258e2 URL: http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=943a0801349548f85227f7a3032eb6ac0a5258e2
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/posix/stdio.h | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/posix/stdio.h b/include/posix/stdio.h index 37d21cd..bd5b6ef 100644 --- a/include/posix/stdio.h +++ b/include/posix/stdio.h @@ -2,9 +2,10 @@ #include_next <stdio.h> -#ifndef STDIO_H -#define STDIO_H +#ifndef _XENO_POSIX_STDIO_H +#define _XENO_POSIX_STDIO_H +#include <stddef.h> #include <stdarg.h> #ifdef __cplusplus @@ -33,6 +34,6 @@ size_t __real_fwrite(const void *ptr, size_t sz, size_t nmemb, FILE *stream); } #endif /* __cplusplus */ -#endif /* STDIO_H */ +#endif /* _XENO_POSIX_STDIO_H */ #endif /* !__KERNEL__ */ _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git