Fix build of stand/usb .

MFC after:	1 week
Sponsored by:	Mellanox Technologies // NVIDIA Networking
This commit is contained in:
Hans Petter Selasky 2021-04-12 16:12:18 +02:00
parent dfff37765c
commit 7497dd5889
2 changed files with 3 additions and 1 deletions

View File

@ -242,6 +242,8 @@ typedef signed long ssize_t;
#define _OFF_T_DECLARED #define _OFF_T_DECLARED
typedef unsigned long off_t; typedef unsigned long off_t;
typedef int64_t sbintime_t;
typedef unsigned char u_char; typedef unsigned char u_char;
typedef unsigned short u_short; typedef unsigned short u_short;
typedef unsigned int u_int; typedef unsigned int u_int;

View File

@ -53,7 +53,7 @@
#define __GPIO_H__ #define __GPIO_H__
#include <sys/ioccom.h> #include <sys/ioccom.h>
#ifndef _KERNEL #if !defined(_KERNEL) && !defined(_STANDALONE)
#include <stdbool.h> #include <stdbool.h>
#endif #endif