소스 검색

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>
(cherry picked from commit 1a2c72a80ec079f8eb2dadef670773ca3a89dba0)
Khem Raj 8 년 전
부모
커밋
c4c49cf501
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      qdevices/utils.c

+ 1 - 0
qdevices/utils.c

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