summaryrefslogtreecommitdiffstats
path: root/sys/i386/ibcs2/ibcs2_fcntl.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-24 11:52:29 +0000
committerbde <bde@FreeBSD.org>1997-03-24 11:52:29 +0000
commita0d9474a34143dc9663d6ae183a89674c91bf90e (patch)
treef33a7dd82dcb9260a05b5f0fca34ee03fbe645ec /sys/i386/ibcs2/ibcs2_fcntl.c
parentf62eb55e940cabd9e329f3c32c6c592554ad6354 (diff)
downloadFreeBSD-src-a0d9474a34143dc9663d6ae183a89674c91bf90e.zip
FreeBSD-src-a0d9474a34143dc9663d6ae183a89674c91bf90e.tar.gz
Don't include <sys/ioctl.h> in the kernel. Stage 4: include
<sys/ttycom.h> and sometimes <sys/filio.h> instead of <sys/ioctl.h> in miscellaneous files. Most of these files have nothing to do with ttys but need to include <sys/ttycom.h> to get the definitions of TIOC[SG]PGRP which are (ab)used to convert F[SG]ETOWN fcntls into ioctls.
Diffstat (limited to 'sys/i386/ibcs2/ibcs2_fcntl.c')
-rw-r--r--sys/i386/ibcs2/ibcs2_fcntl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/ibcs2/ibcs2_fcntl.c b/sys/i386/ibcs2/ibcs2_fcntl.c
index ca25ea1..7c77b80 100644
--- a/sys/i386/ibcs2/ibcs2_fcntl.c
+++ b/sys/i386/ibcs2/ibcs2_fcntl.c
@@ -24,7 +24,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: ibcs2_fcntl.c,v 1.6 1997/02/22 09:33:18 peter Exp $
+ * $Id: ibcs2_fcntl.c,v 1.7 1997/03/23 03:34:03 bde Exp $
*/
#include <sys/param.h>
@@ -35,7 +35,7 @@
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/filedesc.h>
-#include <sys/ioctl.h>
+#include <sys/ttycom.h>
#include <sys/kernel.h>
#include <sys/mount.h>
#include <sys/malloc.h>
OpenPOWER on IntegriCloud