Include <sys/types.h> directly rather than depending on <sys/fcntl.h>

to include it.  This could be avoided by adding the necessary typedefs
here, or by making users of <sys/file.h> include <sys/types.h> first.
This commit is contained in:
Mike Barcroft 2002-09-17 05:14:09 +00:00
parent f0771a984f
commit 117f87fe9f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103458

View File

@ -38,6 +38,7 @@
#define _SYS_FILE_H_
#ifndef _KERNEL
#include <sys/types.h> /* XXX */
#include <sys/fcntl.h>
#include <sys/unistd.h>
#else