Fix isomac test after recent header change.
This commit is contained in:
parent
7ed319d7da
commit
63de5ef70a
|
@ -1,3 +1,8 @@
|
||||||
|
2009-12-23 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* include/stdlib.h: Exclude some includes and prototypes if _ISOMAC
|
||||||
|
is defined.
|
||||||
|
|
||||||
2009-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
2009-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||||
|
|
||||||
* hurd/hurdioctl.c (_hurd_locked_install_cttyid): Set newctty to
|
* hurd/hurdioctl.c (_hurd_locked_install_cttyid): Set newctty to
|
||||||
|
|
|
@ -9,7 +9,9 @@
|
||||||
|
|
||||||
/* Now define the internal interfaces. */
|
/* Now define the internal interfaces. */
|
||||||
#ifndef __Need_M_And_C
|
#ifndef __Need_M_And_C
|
||||||
# include <sys/stat.h>
|
# ifndef _ISOMAC
|
||||||
|
# include <sys/stat.h>
|
||||||
|
# endif
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
|
@ -78,8 +80,10 @@ extern int __clearenv (void);
|
||||||
extern char *__canonicalize_file_name (__const char *__name);
|
extern char *__canonicalize_file_name (__const char *__name);
|
||||||
extern char *__realpath (__const char *__name, char *__resolved);
|
extern char *__realpath (__const char *__name, char *__resolved);
|
||||||
extern int __ptsname_r (int __fd, char *__buf, size_t __buflen);
|
extern int __ptsname_r (int __fd, char *__buf, size_t __buflen);
|
||||||
|
# ifndef _ISOMAC
|
||||||
extern int __ptsname_internal (int fd, char *buf, size_t buflen,
|
extern int __ptsname_internal (int fd, char *buf, size_t buflen,
|
||||||
struct stat64 *stp);
|
struct stat64 *stp);
|
||||||
|
# endif
|
||||||
extern int __getpt (void);
|
extern int __getpt (void);
|
||||||
extern int __posix_openpt (int __oflag);
|
extern int __posix_openpt (int __oflag);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue