commit | c930ae2bd8b6f626ddec0628ae6b38e3134e3c97 | [log] [tgz] |
---|---|---|
author | Ebrahim Byagowi <[email protected]> | Mon Sep 16 14:04:34 2019 +0430 |
committer | Ebrahim Byagowi <[email protected]> | Tue Sep 17 20:58:32 2019 +0430 |
tree | bd3066e0e22b7bf458fcd5177f32489de75bc16e | |
parent | 412d6cac3a46d710159ed4b3cc3bb59fd5876d5f [diff] [blame] |
Avoid stdint.h in Kernel module compiles
diff --git a/src/hb-common.h b/src/hb-common.h index edd9ffb..9f1764b 100644 --- a/src/hb-common.h +++ b/src/hb-common.h
@@ -63,6 +63,8 @@ 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