On 2/1/22 22:14, Warner Losh wrote:
+#ifndef BSD_FILE_H_ +#define BSD_FILE_H_ + +#include <sys/types.h> +#include <sys/mount.h> +#include <sys/uio.h> +#include <fcntl.h> +#include <poll.h> +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h>
Many of these should be done by "qemu/osdep.h" already. Otherwise I question putting them into this header, as opposed to as needed by other syscall handling c files.
r~