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

Collapse All | Expand All

(-)vboxdrv/include/iprt/types.h (-1 / +5 lines)
Lines 58-65 Link Here
58
    /*
58
    /*
59
     * Kludge for the linux kernel:
59
     * Kludge for the linux kernel:
60
     *   1. sys/types.h doesn't mix with the kernel.
60
     *   1. sys/types.h doesn't mix with the kernel.
61
     *   2. Starting with 2.6.19 linux/types.h typedefs bool and linux/stddef.h
61
     *   2. Starting with 2.6.19, linux/types.h typedefs bool and linux/stddef.h
62
     *      declares false and true as enum values.
62
     *      declares false and true as enum values.
63
     *   3. Starting with 2.6.24, linux/types.h typedefs uintptr_t.
63
     * We work around these issues here and nowhere else.
64
     * We work around these issues here and nowhere else.
64
     */
65
     */
65
#  include <stddef.h>
66
#  include <stddef.h>
Lines 69-76 Link Here
69
#  define bool linux_bool
70
#  define bool linux_bool
70
#  define true linux_true
71
#  define true linux_true
71
#  define false linux_false
72
#  define false linux_false
73
#  define uintptr_t linux_uintptr_t
74
#  include <linux/autoconf.h>
72
#  include <linux/types.h>
75
#  include <linux/types.h>
73
#  include <linux/stddef.h>
76
#  include <linux/stddef.h>
77
#  undef uintptr_t
74
#  undef false
78
#  undef false
75
#  undef true
79
#  undef true
76
#  undef bool
80
#  undef bool

Return to bug 199798