2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>

	* posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
	__USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
	We need this for the sbrk decl, which can be included without Unix98.
This commit is contained in:
Ulrich Drepper 2000-03-26 21:24:46 +00:00
parent c7e41631b2
commit 4c63ebaa79
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
__USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
We need this for the sbrk decl, which can be included without Unix98.
2000-03-20 Richard Henderson <rth@cygnus.com>
* nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last

View File

@ -235,12 +235,12 @@ typedef __pid_t pid_t;
# endif
#endif /* X/Open */
#ifdef __USE_UNIX98
#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED
# ifndef __intptr_t_defined
typedef __intptr_t intptr_t;
# define __intptr_t_defined
# endif
#endif /* Unix98 */
#endif
/* Values for the second argument to access.
These may be OR'd together. */