File: linux-netlink-compilation.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 (17 lines) | stat: -rw-r--r-- 415 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- include/linux/uio.h.t	2003-11-21 18:27:56.000000000 -0500
+++ include/linux/uio.h	2003-11-21 18:28:23.000000000 -0500
@@ -35,6 +35,8 @@
                                 /* Beg pardon: BSD has 1024 --ANK */
 #endif
 
+#ifdef __KERNEL__
+
 /*
  * Total number of bytes covered by an iovec.
  *
@@ -55,3 +57,5 @@
 unsigned long iov_shorten(struct iovec *iov, unsigned long nr_segs, size_t to);
 
 #endif
+
+#endif