aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_ioctl.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-03-23 03:37:54 +0000
committerBruce Evans <bde@FreeBSD.org>1997-03-23 03:37:54 +0000
commit3ac4d1ef0cb63052d971dfb2c6ec0cfc0936bdce (patch)
treed5362cd33818510de25aca3387c5ff2e95430292 /sys/compat/linux/linux_ioctl.c
parentc5d593ae63737614194288420e647f53edbf5727 (diff)
downloadsrc-3ac4d1ef0cb63052d971dfb2c6ec0cfc0936bdce.tar.gz
src-3ac4d1ef0cb63052d971dfb2c6ec0cfc0936bdce.zip
Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.
Fixed everything that depended on getting fcntl.h stuff from the wrong place. Most things don't depend on file.h stuff at all.
Notes
Notes: svn path=/head/; revision=24131
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
-rw-r--r--sys/compat/linux/linux_ioctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c
index c2e8780d86bc..75bf626d532e 100644
--- a/sys/compat/linux/linux_ioctl.c
+++ b/sys/compat/linux/linux_ioctl.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: linux_ioctl.c,v 1.14 1997/02/22 09:38:21 peter Exp $
*/
#include <sys/param.h>
@@ -34,6 +34,7 @@
#include <sys/proc.h>
#include <sys/ioctl.h>
#include <sys/ioctl_compat.h>
+#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/filedesc.h>
#include <sys/tty.h>