summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-04 05:33:32 +0000
committerRoland McGrath <roland@gnu.org>1996-06-04 05:33:32 +0000
commitbf18dbd7faa07a9dd800a8e842dd8eedc71ed5d9 (patch)
tree138a743a8f31d026d825650fa08c30834f6058c8 /sysdeps
parentefec1d0c47a91d689e999913db62c50b5629d643 (diff)
downloadglibc-bf18dbd7faa07a9dd800a8e842dd8eedc71ed5d9.tar.gz
glibc-bf18dbd7faa07a9dd800a8e842dd8eedc71ed5d9.tar.xz
glibc-bf18dbd7faa07a9dd800a8e842dd8eedc71ed5d9.zip
* sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Define
	this macro too; current Linux kernels test that instead of
	_LINUX_TYPES_DONT_EXPORT.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/gnu/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/gnu/types.h b/sysdeps/unix/sysv/linux/gnu/types.h
index 939d205bda..719d136e16 100644
--- a/sysdeps/unix/sysv/linux/gnu/types.h
+++ b/sysdeps/unix/sysv/linux/gnu/types.h
@@ -21,6 +21,7 @@ Cambridge, MA 02139, USA.  */
 
 /* Get actual type definitions for architecture from kernel headers.
    This #define tells <linux/types.h> not to define `dev_t' et al itself.  */
+#define __KERNEL_STRICT_NAMES
 #define _LINUX_TYPES_DONT_EXPORT
 #include <linux/types.h>
 
@@ -53,6 +54,7 @@ typedef __kernel_nlink_t __nlink_t; 	/* Type of file link counts.  */
 typedef __kernel_off_t __off_t;		/* Type of file sizes and offsets.  */
 typedef __kernel_pid_t __pid_t;		/* Type of process identifications.  */
 typedef __kernel_ssize_t __ssize_t;	/* Type of a byte count, or error.  */
+#define __kernel_fsid_t long long /* XXX */
 typedef __kernel_fsid_t __fsid_t;	/* Type of file system IDs.  */
 
 /* Everythin' else.  */