Avoid stdint.h in Kernel module compiles

This commit is contained in:
Ebrahim Byagowi 2019-09-16 14:04:34 +04:30
parent 412d6cac3a
commit c930ae2bd8
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,8 @@ typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
#elif defined (__KERNEL__)
# include <linux/types.h>
#else
# include <stdint.h>
#endif