summaryrefslogtreecommitdiffstats
path: root/src/dom/xmlreader.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/dom/xmlreader.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dom/xmlreader.h b/src/dom/xmlreader.h
index 1060555c7..f616fd1e1 100644
--- a/src/dom/xmlreader.h
+++ b/src/dom/xmlreader.h
@@ -30,6 +30,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <glib.h>
#include "dom.h"
@@ -80,7 +81,7 @@ public:
protected:
- void error(char *format, ...);
+ void error(char *format, ...) G_GNUC_PRINTF(2,3);
int get(int ch);
int peek(int ch);