Mercurial > pidgin
view console/gntdebug.h @ 14950:8f27e3e5d2a2
[gaim-migrate @ 17723]
This fixes by console Gaim compile errors:
gntwm.c: In function 'reverse_char':
gntwm.c:574: error: implicit declaration of function 'mvwin_wch'
gntwm.c:578: error: implicit declaration of function 'mvwadd_wch'
What was happening was, gntwm.h #includes <panel.h> before
<ncurses.h> gets #included. And on my system
/usr/ncursesw/panel.h #includes <ncurses/curses.h>, which
doesn't have mvwin_wch or wvmadd_wch.
So basically ncurses.h needs to be the first ncurses include.
Otherwise we might get the wrong ncurses.h
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Fri, 10 Nov 2006 07:01:13 +0000 |
| parents | 81650a27f253 |
| children |
line wrap: on
line source
/** * @file gntdebug.h GNT Debug API * @ingroup gntui * * gaim * * Gaim is the legal property of its developers, whose names are too numerous * to list here. Please refer to the COPYRIGHT file distributed with this * source distribution. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _GNT_DEBUG_H #define _GNT_DEBUG_H #include "debug.h" /********************************************************************** * @name GNT Debug API **********************************************************************/ /*@{*/ /** * Get the ui-functions. * * @return The GaimDebugUiOps structure populated with the appropriate functions. */ GaimDebugUiOps *gg_debug_get_ui_ops(void); /** * Perform necessary initializations. */ void gg_debug_init(void); /** * Perform necessary uninitializations. */ void gg_debug_uninit(void); /** * Show the debug window. */ void gg_debug_window_show(void); /*@}*/ #endif
