avoid second typedef for boolean_t in kernel code originally defined in

<sys/types.h>
This commit is contained in:
christos 2021-04-15 07:00:50 +00:00
parent 2cb1b4dc1d
commit 8ffea519f1
1 changed files with 2 additions and 0 deletions

View File

@ -36,7 +36,9 @@ typedef id_t ctid_t;
#define B_FALSE 0 #define B_FALSE 0
#define B_TRUE 1 #define B_TRUE 1
#ifndef _KERNEL
typedef int boolean_t; typedef int boolean_t;
#endif
#ifndef __defined_hr_t #ifndef __defined_hr_t
#define __defined_hr_t #define __defined_hr_t