diff options
-rw-r--r-- | hwaccess_x86_msr.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hwaccess_x86_msr.c b/hwaccess_x86_msr.c index fa7df723..79cf2f82 100644 --- a/hwaccess_x86_msr.c +++ b/hwaccess_x86_msr.c @@ -204,6 +204,13 @@ void cleanup_cpu_msr(void) } #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) +#include <stdint.h> +#include <stdlib.h> +#include <errno.h> +#include <fcntl.h> +#include <string.h> +#include <unistd.h> + #include <sys/ioctl.h> typedef struct { |