diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 0e89ca3..8da0d31 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1331,7 +1331,7 @@ namespace Posix {
 	public const int MORECTL;
 	[CCode (cheader_filename = "stropts.h")]
 	public const int MOREDATA;
-	[CCode (cheader_filename = "stropts.h", sentinel = "")]
+	[CCode (cheader_filename = "sys/ioctl.h", sentinel = "")]
 	public int ioctl (int fildes, int request, ...);
 
 	[CCode (cheader_filename = "syslog.h")]
