~vcs-imports-ii/pspp/master

Viewing all changes in revision 6462.

  • Committer: Ben Pfaff
  • Date: 2021-02-21 18:32:47 UTC
  • Revision ID: git-v1:22c639606904655579afbff9dd0f6319becbb6dd
ascii: Always include <sys/ioctl.h> if we're calling ioctl.

This file included sys/ioctl.h if it was necessary to use the TIOCGWINSZ
constant, but in fact it's needed to call ioctl() at all, so this commit
moves the #include so that it's included whenever we use ioctl().

Bug #60069.
Reported by Jeremy Lavergne.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: