mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix build issues
src/backend/sql/gnc-transaction-sql.cpp: Move inclusion of escape.h out of extern "C" block since escape.h is now C++ code. src/backend/xml/gnc-backend-xml.cpp: Move inclusion of gnc-pref.s out of extern "C" block since gnc-pref.c is still plain C code.
This commit is contained in:
parent
b3cfef7084
commit
4ee5763075
@ -42,13 +42,13 @@ extern "C"
|
|||||||
#include "gnc-commodity.h"
|
#include "gnc-commodity.h"
|
||||||
#include "gnc-engine.h"
|
#include "gnc-engine.h"
|
||||||
|
|
||||||
#include "escape.h"
|
|
||||||
|
|
||||||
#ifdef S_SPLINT_S
|
#ifdef S_SPLINT_S
|
||||||
#include "splint-defs.h"
|
#include "splint-defs.h"
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#include "escape.h"
|
||||||
|
|
||||||
#include "gnc-backend-sql.h"
|
#include "gnc-backend-sql.h"
|
||||||
#include "gnc-transaction-sql.h"
|
#include "gnc-transaction-sql.h"
|
||||||
#include "gnc-commodity-sql.h"
|
#include "gnc-commodity-sql.h"
|
||||||
|
@ -79,6 +79,7 @@ typedef int ssize_t;
|
|||||||
#include "gnc-uri-utils.h"
|
#include "gnc-uri-utils.h"
|
||||||
#include "io-gncxml-v2.h"
|
#include "io-gncxml-v2.h"
|
||||||
#include "gnc-backend-xml.h"
|
#include "gnc-backend-xml.h"
|
||||||
|
#include "gnc-prefs.h"
|
||||||
|
|
||||||
#ifndef HAVE_STRPTIME
|
#ifndef HAVE_STRPTIME
|
||||||
# include "strptime.h"
|
# include "strptime.h"
|
||||||
@ -87,7 +88,6 @@ typedef int ssize_t;
|
|||||||
|
|
||||||
#include "gnc-xml-helper.h"
|
#include "gnc-xml-helper.h"
|
||||||
#include "io-gncxml.h"
|
#include "io-gncxml.h"
|
||||||
#include "gnc-prefs.h"
|
|
||||||
|
|
||||||
#include "gnc-address-xml-v2.h"
|
#include "gnc-address-xml-v2.h"
|
||||||
#include "gnc-bill-term-xml-v2.h"
|
#include "gnc-bill-term-xml-v2.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user