Include <sys/ioctl.h> for the ioctl function prototype. This avoids a build issue with future compilers which do not support implicit function declarations by default.
<sys/ioctl.h>
ioctl
Related to:
Log in to post a comment.