about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-26 21:24:46 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-26 21:24:46 +0000
commit4c63ebaa79ad9fdbaf49fa69f94e87ef69b5e3be (patch)
treed8010267883723f1e3e1d3a6cc3fffa8aa14da9c /posix
parentc7e41631b203863e5efe280446e553bbe231c549 (diff)
downloadglibc-4c63ebaa79ad9fdbaf49fa69f94e87ef69b5e3be.tar.gz
glibc-4c63ebaa79ad9fdbaf49fa69f94e87ef69b5e3be.tar.xz
glibc-4c63ebaa79ad9fdbaf49fa69f94e87ef69b5e3be.zip
Update.
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.
Diffstat (limited to 'posix')
-rw-r--r--posix/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index 3b75286d9e..e482d1b256 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -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.  */