Like GNU/Linux, GNU/kFreeBSD's sys/types.h does not define the uintX_t types, which differs from the BSDs' headers. Thus we should include stdint.h to ensure we have all the required integer types.
Unified · Split
| @@ -50,6 +50,7 @@ typedef unsigned int drm_handle_t; · 49 unmodified lines | ||
| 50 | 50 | |
| 51 | 51 | #else /* One of the BSDs */ |
| 52 | 52 | |
| 53 | +#include <stdint.h> | |
| 53 | 54 | #include <sys/ioccom.h> |
| 54 | 55 | #include <sys/types.h> |
| 55 | 56 | typedef int8_t __s8; |