gjs r151 - trunk/modules



Author: danw
Date: Tue Jan 27 16:38:07 2009
New Revision: 151
URL: http://svn.gnome.org/viewvc/gjs?rev=151&view=rev

Log:
#include <stdio.h> if using readline, since the readline man page says to,
and some combinations of glibc/readline apparently require it.


Modified:
   trunk/modules/console.c

Modified: trunk/modules/console.c
==============================================================================
--- trunk/modules/console.c	(original)
+++ trunk/modules/console.c	Tue Jan 27 16:38:07 2009
@@ -44,6 +44,7 @@
 #include <string.h>
 
 #ifdef HAVE_LIBREADLINE
+#include <stdio.h>
 #include <readline/readline.h>
 #include <readline/history.h>
 #endif



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