[vala] glib-2.0: Add missing C header for symlink



commit 62e8cb4748e38bd855979efe2efdf6d8cce5b91e
Author: Colin Watson <cjwatson ubuntu com>
Date:   Tue Feb 25 14:12:03 2014 +0000

    glib-2.0: Add missing C header for symlink
    
    Fixes bug 725151.

 vapi/glib-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index c20f6aa..2abbe5a 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")]


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