]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Set ioctl() cheader to be sys/ioctl.h
authorLuca Bruno <lucabru@src.gnome.org>
Wed, 17 Aug 2011 17:08:14 +0000 (19:08 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Wed, 17 Aug 2011 17:08:16 +0000 (19:08 +0200)
Fixes bug 656690.

vapi/posix.vapi

index 0e89ca36274e4e31c40c4f3b586d5f7dc2399af5..8da0d31fbc243075fc2fb6a40ed8d1873ceb0de9 100644 (file)
@@ -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")]