[vala] posix: Set ioctl() cheader to be sys/ioctl.h



commit 7e6bb98270d22e71c3da004fe8dda0e7d15bd425
Author: Luca Bruno <lucabru src gnome org>
Date:   Wed Aug 17 19:08:14 2011 +0200

    posix: Set ioctl() cheader to be sys/ioctl.h
    
    Fixes bug 656690.

 vapi/posix.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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")]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]