summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-09-17 05:14:09 +0000
committermike <mike@FreeBSD.org>2002-09-17 05:14:09 +0000
commit024665d45e967fede40c4d15da08470800f4bd63 (patch)
treed9c3e54719e2a445377d33ba7c84f6326847e121 /sys
parent2d57c37ab4de463dc55c4824d08d31e0b02fe393 (diff)
downloadFreeBSD-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.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/file.h1
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
OpenPOWER on IntegriCloud