[Pidgin] #12506: Building of mono plugin loader fails due to missing glib includes

Pidgin trac at pidgin.im
Mon Aug 16 10:27:11 EDT 2010


#12506: Building of mono plugin loader fails due to missing glib includes
--------------------------+-------------------------------------------------
 Reporter:  dimstar       |     Owner:  rekkanoryo
     Type:  defect        |    Status:  new       
Component:  unclassified  |   Version:  2.7.3     
 Keywords:                |  
--------------------------+-------------------------------------------------
 while building status-glue.c, the build aborts with missing references to
 gpointer.

 The issue is that status.h itself does not include glib.h. In all other
 cases I've found, status.h has been included indirectly only, whereas the
 other files then had references to <glib.h>

 The 'easiest' fix is to #include <glib.h> also in status-glue.h, as I do
 in the attached patch.

 the technical correct thing though would be to include it from status.h,
 as it's a requirement there. I did not check though if this header can be
 included multiple times (many headers fail with this)... that's why I went
 for the 'easy' solution.

 See patch attached.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/12506>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list