Avoid stdint.h in Kernel module compiles
This commit is contained in:
parent
412d6cac3a
commit
c930ae2bd8
|
@ -63,6 +63,8 @@ typedef __int32 int32_t;
|
||||||
typedef unsigned __int32 uint32_t;
|
typedef unsigned __int32 uint32_t;
|
||||||
typedef __int64 int64_t;
|
typedef __int64 int64_t;
|
||||||
typedef unsigned __int64 uint64_t;
|
typedef unsigned __int64 uint64_t;
|
||||||
|
#elif defined (__KERNEL__)
|
||||||
|
# include <linux/types.h>
|
||||||
#else
|
#else
|
||||||
# include <stdint.h>
|
# include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue