diff --git a/src/system/libroot/posix/glibc/libio/Jamfile b/src/system/libroot/posix/glibc/libio/Jamfile index 4ccaa41ef6..d8f2fcfd32 100644 --- a/src/system/libroot/posix/glibc/libio/Jamfile +++ b/src/system/libroot/posix/glibc/libio/Jamfile @@ -40,7 +40,7 @@ KernelMergeObject posix_gnu_libio.o : <$(SOURCE_GRIST)>iofclose.c <$(SOURCE_GRIST)>iofdopen.c <$(SOURCE_GRIST)>iofflush.c -# <$(SOURCE_GRIST)>iofgetpos.c + <$(SOURCE_GRIST)>iofgetpos.c <$(SOURCE_GRIST)>iofgets.c <$(SOURCE_GRIST)>iofgets_u.c <$(SOURCE_GRIST)>iofopen.c @@ -48,7 +48,7 @@ KernelMergeObject posix_gnu_libio.o : <$(SOURCE_GRIST)>iofputs_u.c <$(SOURCE_GRIST)>iofread.c <$(SOURCE_GRIST)>iofread_u.c -# <$(SOURCE_GRIST)>iofsetpos.c + <$(SOURCE_GRIST)>iofsetpos.c <$(SOURCE_GRIST)>ioftell.c <$(SOURCE_GRIST)>iofwrite.c <$(SOURCE_GRIST)>iofwrite_u.c diff --git a/src/system/libroot/posix/glibc/libio/_G_config.h b/src/system/libroot/posix/glibc/libio/_G_config.h index f12735951c..9149391f8d 100644 --- a/src/system/libroot/posix/glibc/libio/_G_config.h +++ b/src/system/libroot/posix/glibc/libio/_G_config.h @@ -26,7 +26,7 @@ # include #endif -//#include +#include #ifndef _WINT_T /* Integral type unchanged by default argument promotions that can diff --git a/src/system/libroot/posix/glibc/libio/libio.h b/src/system/libroot/posix/glibc/libio/libio.h index 463a45ec55..a770188af1 100644 --- a/src/system/libroot/posix/glibc/libio/libio.h +++ b/src/system/libroot/posix/glibc/libio/libio.h @@ -46,6 +46,7 @@ #define _IO_BUFSIZ _G_BUFSIZ #define _IO_va_list _G_va_list #define _IO_wint_t _G_wint_t +#define __mbstate_t __c_mbstate_t #ifdef _G_NEED_STDARG_H /* This define avoids name pollution if we're using GNU stdarg.h */