Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 297878 | Differences between
and this patch

Collapse All | Expand All

(-)a/vboxdrv/SUPDrvInternal.h (-1 / +5 lines)
Lines 80-87 Link Here
80
    RT_C_DECLS_END
80
    RT_C_DECLS_END
81
81
82
#elif defined(RT_OS_LINUX)
82
#elif defined(RT_OS_LINUX)
83
#   include <linux/autoconf.h>
84
#   include <linux/version.h>
83
#   include <linux/version.h>
84
#   if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
85
#    include <linux/autoconf.h>
86
#   else
87
#    include <generated/autoconf.h>
88
#   endif
85
#   if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
89
#   if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
86
#       define MODVERSIONS
90
#       define MODVERSIONS
87
#       if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 71)
91
#       if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 71)
(-)a/vboxdrv/include/internal/iprt.h (-2 / +6 lines)
Lines 43-51 Link Here
43
 && defined(MODULE) \
43
 && defined(MODULE) \
44
 && !defined(RT_NO_EXPORT_SYMBOL)
44
 && !defined(RT_NO_EXPORT_SYMBOL)
45
# define bool linux_bool /* see r0drv/linux/the-linux-kernel.h */
45
# define bool linux_bool /* see r0drv/linux/the-linux-kernel.h */
46
# include <linux/autoconf.h>
46
# include <linux/version.h>
47
# if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
48
#  include <linux/autoconf.h>
49
# else
50
#  include <generated/autoconf.h>
51
# endif
47
# if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
52
# if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
48
#  include <linux/version.h>
49
#  define MODVERSIONS
53
#  define MODVERSIONS
50
#  if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 71)
54
#  if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 71)
51
#   include <linux/modversions.h>
55
#   include <linux/modversions.h>
(-)a/vboxdrv/include/iprt/types.h (-1 / +6 lines)
Lines 97-103 Link Here
97
#  define true linux_true
97
#  define true linux_true
98
#  define false linux_false
98
#  define false linux_false
99
#  define uintptr_t linux_uintptr_t
99
#  define uintptr_t linux_uintptr_t
100
#  include <linux/autoconf.h>
100
#  include <linux/version.h>
101
#  if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
102
#   include <linux/autoconf.h>
103
#  else
104
#   include <generated/autoconf.h>
105
#  endif
101
#  include <linux/types.h>
106
#  include <linux/types.h>
102
#  include <linux/stddef.h>
107
#  include <linux/stddef.h>
103
#  undef uintptr_t
108
#  undef uintptr_t
(-)a/vboxdrv/r0drv/linux/the-linux-kernel.h (-1 / +5 lines)
Lines 38-45 Link Here
38
#include <iprt/types.h>
38
#include <iprt/types.h>
39
#define bool linux_bool
39
#define bool linux_bool
40
40
41
#include <linux/autoconf.h>
42
#include <linux/version.h>
41
#include <linux/version.h>
42
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
43
# include <linux/autoconf.h>
44
#else
45
# include <generated/autoconf.h>
46
#endif
43
47
44
/* We only support 2.4 and 2.6 series kernels */
48
/* We only support 2.4 and 2.6 series kernels */
45
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0)
49
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0)
(-)a/vboxnetadp/include/internal/iprt.h (-2 / +6 lines)
Lines 43-51 Link Here
43
 && defined(MODULE) \
43
 && defined(MODULE) \
44
 && !defined(RT_NO_EXPORT_SYMBOL)
44
 && !defined(RT_NO_EXPORT_SYMBOL)
45
# define bool linux_bool /* see r0drv/linux/the-linux-kernel.h */
45
# define bool linux_bool /* see r0drv/linux/the-linux-kernel.h */
46
# include <linux/autoconf.h>
46
# include <linux/version.h>
47
# if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
48
#  include <linux/autoconf.h>
49
# else
50
#  include <linux/autoconf.h>
51
# else
47
# if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
52
# if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
48
#  include <linux/version.h>
49
#  define MODVERSIONS
53
#  define MODVERSIONS
50
#  if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 71)
54
#  if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 71)
51
#   include <linux/modversions.h>
55
#   include <linux/modversions.h>
(-)a/vboxnetadp/include/iprt/types.h (-1 / +6 lines)
Lines 97-103 Link Here
97
#  define true linux_true
97
#  define true linux_true
98
#  define false linux_false
98
#  define false linux_false
99
#  define uintptr_t linux_uintptr_t
99
#  define uintptr_t linux_uintptr_t
100
#  include <linux/autoconf.h>
100
#  include <linux/version.h>
101
#  if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
102
#   include <linux/autoconf.h>
103
#  else
104
#   include <generated/autoconf.h>
105
#  endif
101
#  include <linux/types.h>
106
#  include <linux/types.h>
102
#  include <linux/stddef.h>
107
#  include <linux/stddef.h>
103
#  undef uintptr_t
108
#  undef uintptr_t
(-)a/vboxnetadp/r0drv/linux/the-linux-kernel.h (-1 / +5 lines)
Lines 38-45 Link Here
38
#include <iprt/types.h>
38
#include <iprt/types.h>
39
#define bool linux_bool
39
#define bool linux_bool
40
40
41
#include <linux/autoconf.h>
42
#include <linux/version.h>
41
#include <linux/version.h>
42
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
43
# include <linux/autoconf.h>
44
#else
45
# include <generated/autoconf.h>
46
#endif
43
47
44
/* We only support 2.4 and 2.6 series kernels */
48
/* We only support 2.4 and 2.6 series kernels */
45
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0)
49
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0)
(-)a/vboxnetflt/include/internal/iprt.h (-2 / +6 lines)
Lines 43-51 Link Here
43
 && defined(MODULE) \
43
 && defined(MODULE) \
44
 && !defined(RT_NO_EXPORT_SYMBOL)
44
 && !defined(RT_NO_EXPORT_SYMBOL)
45
# define bool linux_bool /* see r0drv/linux/the-linux-kernel.h */
45
# define bool linux_bool /* see r0drv/linux/the-linux-kernel.h */
46
# include <linux/autoconf.h>
46
# include <linux/version.h>
47
# if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
48
#  include <linux/autoconf.h>
49
# else
50
#  include <generated/autoconf.h>
51
# endif
47
# if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
52
# if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
48
#  include <linux/version.h>
49
#  define MODVERSIONS
53
#  define MODVERSIONS
50
#  if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 71)
54
#  if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 71)
51
#   include <linux/modversions.h>
55
#   include <linux/modversions.h>
(-)a/vboxnetflt/include/iprt/types.h (-1 / +6 lines)
Lines 97-103 Link Here
97
#  define true linux_true
97
#  define true linux_true
98
#  define false linux_false
98
#  define false linux_false
99
#  define uintptr_t linux_uintptr_t
99
#  define uintptr_t linux_uintptr_t
100
#  include <linux/autoconf.h>
100
#  include <linux/version.h>
101
#  if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
102
#   include <linux/autoconf.h>
103
#  else
104
#   include <generated/autoconf.h>
105
#  endif
101
#  include <linux/types.h>
106
#  include <linux/types.h>
102
#  include <linux/stddef.h>
107
#  include <linux/stddef.h>
103
#  undef uintptr_t
108
#  undef uintptr_t
(-)a/vboxnetflt/r0drv/linux/the-linux-kernel.h (-2 / +5 lines)
Lines 38-45 Link Here
38
#include <iprt/types.h>
38
#include <iprt/types.h>
39
#define bool linux_bool
39
#define bool linux_bool
40
40
41
#include <linux/autoconf.h>
42
#include <linux/version.h>
41
#include <linux/version.h>
42
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
43
# include <linux/autoconf.h>
44
#else
45
# include <generated/autoconf.h>
46
#endif
43
47
44
/* We only support 2.4 and 2.6 series kernels */
48
/* We only support 2.4 and 2.6 series kernels */
45
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0)
49
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0)
46
- 

Return to bug 297878