From: Ulrich Drepper Date: Thu, 24 Dec 2009 03:31:50 +0000 (-0800) Subject: Fix isomac test after recent header change. X-Git-Tag: glibc-2.12~303 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63de5ef70af0eef3bc6af21463eac8e8efa74afb;p=platform%2Fupstream%2Fglibc.git Fix isomac test after recent header change. --- diff --git a/ChangeLog b/ChangeLog index 18a6c16..4be0d03 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-12-23 Ulrich Drepper + + * include/stdlib.h: Exclude some includes and prototypes if _ISOMAC + is defined. + 2009-12-22 Samuel Thibault * hurd/hurdioctl.c (_hurd_locked_install_cttyid): Set newctty to diff --git a/include/stdlib.h b/include/stdlib.h index f540bece..b4799d7 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -9,7 +9,9 @@ /* Now define the internal interfaces. */ #ifndef __Need_M_And_C -# include +# ifndef _ISOMAC +# include +# endif __BEGIN_DECLS @@ -78,8 +80,10 @@ extern int __clearenv (void); extern char *__canonicalize_file_name (__const char *__name); extern char *__realpath (__const char *__name, char *__resolved); extern int __ptsname_r (int __fd, char *__buf, size_t __buflen); +# ifndef _ISOMAC extern int __ptsname_internal (int fd, char *buf, size_t buflen, struct stat64 *stp); +# endif extern int __getpt (void); extern int __posix_openpt (int __oflag);