Fix build with glib2 2.67.x.

glib headers should not be included with 'extern "C"'.
This commit is contained in:
Bill Nottingham
2021-02-13 16:35:27 -05:00
committed by John Ralls
parent 3c9d2a2842
commit c0f2c3ae25
75 changed files with 149 additions and 126 deletions

View File

@@ -26,7 +26,6 @@ extern "C"
{
#include <config.h>
#include <glib.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
@@ -35,6 +34,7 @@ extern "C"
#include "qof.h"
}
#include <glib.h>
#include <stdint.h>
#include <boost/regex.hpp>
#include <boost/locale/encoding_utf.hpp>