Include <sys/ioctl.h>, for ioctl().
[pspp] / top /
drwxr-xr-x   ..
-rw-r--r-- 4262 GNUmakefile
-rw-r--r-- 4621 maint.mk