From 3ef41e42cd84bca0d3094c9f44d5ccf4af384604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sat, 5 Nov 2005 17:58:15 +0000 Subject: [PATCH] added fgetpos fsetpos git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14716 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/libroot/posix/glibc/libio/Jamfile | 4 ++-- src/system/libroot/posix/glibc/libio/_G_config.h | 2 +- src/system/libroot/posix/glibc/libio/libio.h | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) 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 */