projects
/
openwrt
/
staging
/
neocturne.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4079ad
)
siit: fix build
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 18 Apr 2010 17:17:06 +0000
(17:17 +0000)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 18 Apr 2010 17:17:06 +0000
(17:17 +0000)
Starting with kernel 2.6.33 autoconf.h is in generated/ and not linux/
SVN-Revision: 20993
package/siit/src/siit.c
patch
|
blob
|
history
diff --git
a/package/siit/src/siit.c
b/package/siit/src/siit.c
index f458f5de4b28fd16e0f6890be7a6390fc013ce32..5362c1daaec76ec66d68dee429b0d126580378fe 100644
(file)
--- a/
package/siit/src/siit.c
+++ b/
package/siit/src/siit.c
@@
-4,9
+4,13
@@
*
*/
+#include <linux/version.h>
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
+#include <generated/autoconf.h>
+#else
#include <linux/autoconf.h>
+#endif
#include <linux/module.h>
-#include <linux/version.h>
#include <linux/sched.h>
#include <linux/kernel.h> /* printk() */
#include <linux/slab.h>