diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index abb13b0e2..7152482ed 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -3145,6 +3145,7 @@ public: int __reg2 fstat (struct stat *buf); int dup (fhandler_base *child, int); + int ioctl (unsigned int, void *); int close (); void copy_from (fhandler_base *x) diff --git a/winsup/cygwin/fhandler_mqueue.cc b/winsup/cygwin/fhandler_mqueue.cc index 28aae314e..d1aa8c8e3 100644 --- a/winsup/cygwin/fhandler_mqueue.cc +++ b/winsup/cygwin/fhandler_mqueue.cc @@ -411,6 +411,12 @@ fhandler_mqueue::fixup_after_fork (HANDLE parent) api_fatal ("Creating IPC object failed in fork, %E"); } +int +fhandler_mqueue::ioctl (unsigned int cmd, void *buf) +{ + return fhandler_base::ioctl (cmd, buf); +} + int fhandler_mqueue::close () {