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

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