From: Colin Watson Date: Tue, 25 Feb 2014 14:12:03 +0000 (+0000) Subject: glib-2.0: Add missing C header for symlink X-Git-Tag: 0.24.0~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62e8cb4748e38bd855979efe2efdf6d8cce5b91e;p=thirdparty%2Fvala.git glib-2.0: Add missing C header for symlink Fixes bug 725151. --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index c20f6aa6e..2abbe5a6a 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -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")]