patch-2.2.4 linux/include/asm-sparc/posix_types.h
Next file: linux/include/asm-sparc/processor.h
Previous file: linux/include/asm-sparc/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Wed Mar 10 16:53:37 1999
- Orig file:
v2.2.3/linux/include/asm-sparc/posix_types.h
- Orig date:
Mon Dec 8 23:58:04 1997
diff -u --recursive --new-file v2.2.3/linux/include/asm-sparc/posix_types.h linux/include/asm-sparc/posix_types.h
@@ -37,9 +37,15 @@
#endif
typedef struct {
+#if defined(__KERNEL__) || defined(__USE_ALL)
int val[2];
+#else /* !defined(__KERNEL__) && !defined(__USE_ALL) */
+ int __val[2];
+#endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */
} __kernel_fsid_t;
+#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
+
#undef __FD_SET
static __inline__ void __FD_SET(unsigned long fd, __kernel_fd_set *fdsetp)
{
@@ -108,5 +114,7 @@
tmp++;
}
}
+
+#endif /* defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) */
#endif /* !(__ARCH_SPARC_POSIX_TYPES_H) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)