diff --git a/gnucash/gnome-utils/dialog-account.h b/gnucash/gnome-utils/dialog-account.h index d0ac5611f91..9d59b9c9c09 100644 --- a/gnucash/gnome-utils/dialog-account.h +++ b/gnucash/gnome-utils/dialog-account.h @@ -26,6 +26,10 @@ #include "Account.h" +#ifdef __cplusplus +extern "C" { +#endif + /* Note: make sure to update the help text for this in prefs.scm if these * change! These macros define the account types for which an auto interest * xfer dialog could pop up, if the user's preferences allow it. @@ -180,6 +184,10 @@ void gnc_account_renumber_create_dialog (GtkWidget *window, Account *account); void gnc_account_cascade_properties_dialog (GtkWidget *window, Account *account); +#ifdef __cplusplus +} +#endif + /** @} */ /** @} */ diff --git a/gnucash/gnome/window-reconcile.h b/gnucash/gnome/window-reconcile.h index 9f4695bd9d0..72284c91680 100644 --- a/gnucash/gnome/window-reconcile.h +++ b/gnucash/gnome/window-reconcile.h @@ -27,6 +27,10 @@ #include "Account.h" #include +#ifdef __cplusplus +extern "C" { +#endif + /** STRUCTS *********************************************************/ typedef struct _RecnWindow RecnWindow; @@ -66,4 +70,8 @@ void gnc_ui_reconcile_window_raise (RecnWindow * recnData); GtkWindow *gnc_ui_reconcile_window_get_window (RecnWindow * recnData); +#ifdef __cplusplus +} +#endif + #endif /* WINDOW_RECONCILE_H */