]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Fix timespec binding
authorJürg Billeter <j@bitron.ch>
Fri, 26 Feb 2010 14:29:49 +0000 (15:29 +0100)
committerJürg Billeter <j@bitron.ch>
Fri, 26 Feb 2010 14:31:16 +0000 (15:31 +0100)
vapi/posix.vapi

index e51420c383f68c933471fd057d2986dc649f6dc1..feb5cf72a62a5a4cc3c6871528c7f7b92bdeb371 100644 (file)
@@ -1489,7 +1489,7 @@ namespace Posix {
                public int tm_isdst;
        }
 
-       [CCode (cheader_filename = "time.h")]
+       [CCode (cname = "struct timespec", cheader_filename = "time.h")]
        public struct timespec {
                public time_t tv_sec;
                public long tv_nsec;