File: linux-types-ustat.patch

package info (click to toggle)
linux-kernel-headers 2.5.999-test7-bk-17
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 28,268 kB
  • ctags: 214,024
  • sloc: ansic: 324,929; cpp: 783; makefile: 79; asm: 61; sh: 61
file content (20 lines) | stat: -rw-r--r-- 586 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Fixes glibc NPTL build on S/390.  I seem to recall SH being affected by this
too.

--- linux-kernel-headers/include/linux/types.h.bak	2003-10-15 11:14:22.000000000 -0400
+++ linux-kernel-headers/include/linux/types.h	2003-10-26 14:34:05.000000000 -0500
@@ -148,11 +148,14 @@ typedef unsigned long sector_t;
  * any application/library that wants linux/types.h.
  */
 
+#if 0
+/* Debian: This is available from <sys/ustat.h>.  */
 struct ustat {
 	__kernel_daddr_t	f_tfree;
 	__kernel_ino_t		f_tinode;
 	char			f_fname[6];
 	char			f_fpack[6];
 };
+#endif
 
 #endif /* _LINUX_TYPES_H */