diff options
author | mike <mike@FreeBSD.org> | 2002-09-17 05:14:09 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-09-17 05:14:09 +0000 |
commit | 024665d45e967fede40c4d15da08470800f4bd63 (patch) | |
tree | d9c3e54719e2a445377d33ba7c84f6326847e121 | |
parent | 2d57c37ab4de463dc55c4824d08d31e0b02fe393 (diff) | |
download | FreeBSD-src-024665d45e967fede40c4d15da08470800f4bd63.zip FreeBSD-src-024665d45e967fede40c4d15da08470800f4bd63.tar.gz |
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.
-rw-r--r-- | sys/sys/file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/file.h b/sys/sys/file.h index 525fb4e..90d1a1d 100644 --- a/sys/sys/file.h +++ b/sys/sys/file.h @@ -38,6 +38,7 @@ #define _SYS_FILE_H_ #ifndef _KERNEL +#include <sys/types.h> /* XXX */ #include <sys/fcntl.h> #include <sys/unistd.h> #else |