diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/common/dl-osinfo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/dl-osinfo.h b/libc/sysdeps/linux/common/dl-osinfo.h index 649d203f8..3110cb05d 100644 --- a/libc/sysdeps/linux/common/dl-osinfo.h +++ b/libc/sysdeps/linux/common/dl-osinfo.h @@ -17,10 +17,11 @@ # endif # include <stdint.h> -# include <sys/time.h> # ifdef IS_IN_libc -#include <fcntl.h> +# include <fcntl.h> +# include <unistd.h> +# include <sys/time.h> # define OPEN open # define READ read # define CLOSE close |