Explorar el Código

Include fcntl.h for F_* and O_* defines

Fixes errors like
utils.c:95:22: error: use of undeclared identifier 'O_WRONLY'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Khem Raj hace 8 años
padre
commit
1a2c72a80e
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      qdevices/utils.c

+ 1 - 0
qdevices/utils.c

@@ -39,6 +39,7 @@
 
 #include <err.h>
 #include <errno.h>
+#include <fcntl.h>
 #include <inttypes.h>
 #include <libgen.h>
 #include <stdio.h>