Index: /trunk/src/VBox/Additions/linux/module/Makefile.module
===================================================================
--- /trunk/src/VBox/Additions/linux/module/Makefile.module	(revision 374)
+++ /trunk/src/VBox/Additions/linux/module/Makefile.module	(revision 375)
@@ -44,10 +44,14 @@
 # includes
 ifeq ($(KERN_INCL),)
-ifeq ($(shell if test -d $(KERN_DIR)/include; then echo yes; fi),yes)
-KERN_INCL = $(KERN_DIR)/include
-else
-KERN_INCL = /usr/src/linux/include
-$(warning Warning: defaulting to the includes in $(KERN_INCL). Specify KERN_INCL=<right-place> if this is not right.)
-endif
+ ifeq ($(shell if test -d $(KERN_DIR)/include; then echo yes; fi),yes)
+ KERN_INCL = $(KERN_DIR)/include
+# Instead of sticking to the standards, OpenSUSE 10.2 only puts a few include
+# files in /lib/modules/$(uname -r)/build/include, and puts the rest in
+# /lib/modules/$(uname -r)/source/include, which points into the kernel sources
+  EXTRA_INCL = -I/lib/modules/$(shell uname -r)/source/include
+ else
+ KERN_INCL = /usr/src/linux/include
+ $(warning Warning: defaulting to the includes in $(KERN_INCL). Specify KERN_INCL=<right-place> if this is not right.)
+ endif
 endif
 
@@ -84,5 +88,5 @@
 #
 ifndef INCL
- INCL    := -I$(KERN_INCL)
+ INCL    := -I$(KERN_INCL) -I$(EXTRA_INCL)
  ifndef KBUILD_EXTMOD
   KBUILD_EXTMOD := $(shell pwd)
Index: /trunk/src/VBox/HostDrivers/Support/linux/Makefile
===================================================================
--- /trunk/src/VBox/HostDrivers/Support/linux/Makefile	(revision 374)
+++ /trunk/src/VBox/HostDrivers/Support/linux/Makefile	(revision 375)
@@ -83,4 +83,8 @@
 ifndef $(KERN_INCL)
  KERN_INCL = $(KERN_DIR)/include
+# Instead of sticking to the standards, OpenSUSE 10.2 only puts a few include
+# files in /lib/modules/$(uname -r)/build/include, and puts the rest in
+# /lib/modules/$(uname -r)/source/include, which points into the kernel sources
+ EXTRA_INCL = -I/lib/modules/$(shell uname -r)/source/include
  $(info Info: using $(KERN_INCL) as the include directory of your Linux kernel. If this is not correct, specify KERN_INCL=<directory> and run Make again.)
 endif
@@ -114,5 +118,5 @@
 #
 ifndef INCL
- INCL    := -I$(KERN_INCL)
+ INCL    := -I$(KERN_INCL) -I$(EXTRA_INCL)
  ifndef KBUILD_EXTMOD
   KBUILD_EXTMOD := $(shell pwd)
