diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-12-23 19:31:50 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-12-23 19:31:50 -0800 |
commit | 63de5ef70af0eef3bc6af21463eac8e8efa74afb (patch) | |
tree | 19313f3569982d204c9f53afd936a8e371a5f202 /include | |
parent | 7ed319d7da45907e0858de27760a6f7c9d90dce5 (diff) | |
download | glibc-63de5ef70af0eef3bc6af21463eac8e8efa74afb.tar.gz glibc-63de5ef70af0eef3bc6af21463eac8e8efa74afb.tar.xz glibc-63de5ef70af0eef3bc6af21463eac8e8efa74afb.zip |
Fix isomac test after recent header change.
Diffstat (limited to 'include')
-rw-r--r-- | include/stdlib.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index f540bece9c..b4799d7d04 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -9,7 +9,9 @@ /* Now define the internal interfaces. */ #ifndef __Need_M_And_C -# include <sys/stat.h> +# ifndef _ISOMAC +# include <sys/stat.h> +# 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); |