Fixes compiler errors like: error: field ‘trigger_tstamp’ has incomplete type error: invalid application of ‘sizeof’ to incomplete t ype ‘struct timespec’
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -25,6 +25,9 @@ · 24 unmodified lines | ||
| 25 | 25 | |
| 26 | 26 | #include <linux/types.h> |
| 27 | 27 | |
| 28 | +#ifndef __KERNEL__ | |
| 29 | +#include <stdlib.h> | |
| 30 | +#endif | |
| 28 | 31 | |
| 29 | 32 | /* |
| 30 | 33 | * protocol version |