]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
linux: Set array_length=false for IfReq.ifr_name
authorSimon Busch <morphis@gravedo.de>
Thu, 24 Nov 2011 16:49:15 +0000 (17:49 +0100)
committerJürg Billeter <j@bitron.ch>
Mon, 12 Dec 2011 19:50:23 +0000 (20:50 +0100)
vapi/linux.vapi

index 89419a6b11916042cc2b96e5bc74de159cb3760e..3764197e5996c487f8414fc2f8175cb6b3373465 100644 (file)
@@ -1283,6 +1283,7 @@ namespace Linux {
 
         [CCode (cname = "struct ifreq", has_type_id = false, cheader_filename = "netinet/in.h,linux/if.h", destroy_function = "")]
         public struct IfReq {
+            [CCode (array_length = false)]
             public char[] ifr_name;
             public Posix.SockAddr ifr_addr;
             public Posix.SockAddr ifr_dstaddr;