projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d4e4f2
)
compat: add net/net_namespace.h stub for Linux 2.6.23 and older
author
Pavel Roskin
<proski@gnu.org>
Wed, 7 Apr 2010 05:26:52 +0000
(
01:26
-0400)
committer
Luis R. Rodriguez
<lrodriguez@atheros.com>
Wed, 7 Apr 2010 07:07:23 +0000
(
00:07
-0700)
This obviates a good part of 06-header-changes.patch in compat-wireless.
Signed-off-by: Pavel Roskin <proski@gnu.org>
include/net/net_namespace.h
[new file with mode: 0644]
patch
|
blob
diff --git a/include/net/net_namespace.h
b/include/net/net_namespace.h
new file mode 100644
(file)
index 0000000..
206c0c1
--- /dev/null
+++ b/
include/net/net_namespace.h
@@ -0,0
+1,8
@@
+#ifndef _COMPAT_NET_NET_NAMESPACE_H
+#define _COMPAT_NET_NET_NAMESPACE_H 1
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,23))
+#include_next <net/net_namespace.h>
+#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,23)) */
+
+#endif /* _COMPAT_NET_NET_NAMESPACE_H */