]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add missing C header for symlink
authorColin Watson <cjwatson@ubuntu.com>
Tue, 25 Feb 2014 14:12:03 +0000 (14:12 +0000)
committerJürg Billeter <j@bitron.ch>
Mon, 3 Mar 2014 14:52:04 +0000 (15:52 +0100)
Fixes bug 725151.

vapi/glib-2.0.vapi

index c20f6aa6e93da871a3b7d31e075d4f3359ae87af..2abbe5a6a5ecd391813fe9da39818d7a70693a94 100644 (file)
@@ -3197,7 +3197,7 @@ namespace GLib {
                [CCode (cname = "g_utime")]
                public static int utime (string filename, UTimBuf? times = null);
 
-               [CCode (cname = "symlink")]
+               [CCode (cname = "symlink", cheader_filename = "unistd.h")]
                public static int symlink (string oldpath, string newpath);
 
                [CCode (cname = "close", cheader_filename = "unistd.h")]