Commit cbfe0ebc authored by Szabolcs Nagy's avatar Szabolcs Nagy Committed by Guillem Jover

Add missing <fcntl.h> includes

These are required due to the O_* macro usage, but have passed
undetected on glibc-based systems due to implicit inclusions.
Signed-off-by: Guillem Jover's avatarGuillem Jover <guillem@hadrons.org>
parent f3b566bd
......@@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
#include <unistd.h>
#include <libutil.h>
......
......@@ -39,6 +39,7 @@ static char sccsid[] = "@(#)nlist.c 8.1 (Berkeley) 6/4/93";
#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
#include <a.out.h>
#include <stdio.h>
#include <string.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment