mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Cutecash: Fix extern "C" usage: Must not enclose system includes, supposedly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18844 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
57f38d14ea
commit
c6e43486f8
@ -25,9 +25,9 @@
|
||||
|
||||
// gnucash includes
|
||||
#include "config.h" // required by qof/qofutil.h
|
||||
#include <glib/gi18n.h>
|
||||
extern "C"
|
||||
{
|
||||
#include <glib/gi18n.h>
|
||||
#include "qof.h"
|
||||
#include "engine/gnc-hooks.h"
|
||||
}
|
||||
|
@ -23,14 +23,14 @@
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <libguile.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <glib.h>
|
||||
extern "C"
|
||||
{
|
||||
#include "gnc-module/gnc-module.h"
|
||||
#include "core-utils/gnc-path.h"
|
||||
#include "core-utils/binreloc.h"
|
||||
@ -48,12 +48,12 @@ extern "C"
|
||||
#include "backend/xml/gnc-backend-xml.h"
|
||||
#include "business/business-core/gncBusiness.h"
|
||||
#include "business/business-core/xml/gncmod-business-backend-xml.h"
|
||||
} // END extern C
|
||||
|
||||
#ifdef HAVE_GETTEXT
|
||||
# include <libintl.h>
|
||||
# include <locale.h>
|
||||
#endif
|
||||
} // END extern C
|
||||
|
||||
#include <QApplication>
|
||||
#include "mainwindow.hpp"
|
||||
|
@ -31,9 +31,9 @@
|
||||
#include "ui_mainwindow.h"
|
||||
|
||||
// gnucash includes
|
||||
#include <glib/gi18n.h>
|
||||
extern "C"
|
||||
{
|
||||
#include <glib/gi18n.h>
|
||||
#include "qof.h"
|
||||
#include "engine/gnc-hooks.h"
|
||||
#include "core-utils/gnc-filepath-utils.h"
|
||||
|
Loading…
Reference in New Issue
Block a user