]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
readline.vapi: include stdio.h before readline.h
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Fri, 13 Aug 2010 22:56:44 +0000 (00:56 +0200)
committerMarc-André Lureau <marcandre.lureau@gmail.com>
Sat, 14 Aug 2010 18:52:38 +0000 (20:52 +0200)
This solves compilation error with the readline sample
from the wiki http://live.gnome.org/Vala/InputSamples.

Fixes bug 626883.

vapi/readline.vapi

index 08248a8f869f5173db4b675e9af368d7134eaa74..abe886b1b225fa6e0d9314078ab23508c65099b4 100644 (file)
@@ -18,7 +18,7 @@
  *
  */
 
-[CCode (lower_case_cprefix = "", cheader_filename = "readline/readline.h")]
+[CCode (lower_case_cprefix = "", cheader_filename = "stdio.h,readline/readline.h")]
 namespace Readline {
        [CCode (cname = "free", cheader_filename = "stdlib.h")]
        private void _free (void* p);