diff --git a/stand/kshim/bsd_kernel.h b/stand/kshim/bsd_kernel.h index 89d87121c63..11efaf2d824 100644 --- a/stand/kshim/bsd_kernel.h +++ b/stand/kshim/bsd_kernel.h @@ -208,9 +208,17 @@ typedef unsigned int uint32_t; #define _INT32_T_DECLARED typedef signed int int32_t; #define _UINT64_T_DECLARED +#ifndef __LP64__ typedef unsigned long long uint64_t; +#else +typedef unsigned long uint64_t; +#endif #define _INT16_T_DECLARED +#ifndef __LP64__ typedef signed long long int64_t; +#else +typedef signed long int64_t; +#endif typedef uint16_t uid_t; typedef uint16_t gid_t;