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>
This commit is contained in:
Khem Raj 2017-08-30 17:28:55 -07:00 committed by Jan Friesse
parent ed235edfe3
commit 1a2c72a80e

View File

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