[poppler] Branch 'poppler-0.20' - goo/gstrtod.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Tue Jul 31 14:33:18 PDT 2012
goo/gstrtod.cc | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit c0c88b3707fc7337e814ae4252d80002641a19ee
Author: Albert Astals Cid <aacid at kde.org>
Date: Tue Jul 31 23:32:19 2012 +0200
Replace c++ style includes with c style ones
Fixes build in Solaris 10
Bug #52426
diff --git a/goo/gstrtod.cc b/goo/gstrtod.cc
index e6c3a00..cd1d5b5 100644
--- a/goo/gstrtod.cc
+++ b/goo/gstrtod.cc
@@ -1,6 +1,6 @@
/* This file is part of Libspectre.
*
- * Copyright (C) 2007 Albert Astals Cid <aacid at kde.org>
+ * Copyright (C) 2007, 2012 Albert Astals Cid <aacid at kde.org>
* Copyright (C) 2007 Carlos Garcia Campos <carlosgc at gnome.org>
*
* Libspectre is free software; you can redistribute it and/or modify
@@ -22,10 +22,10 @@
#include "gstrtod.h"
-#include <clocale>
-#include <cerrno>
-#include <cstdlib>
-#include <cstring>
+#include <locale.h>
+#include <errno.h>
+#include <stdlib.h>
+#include <string.h>
#define ascii_isspace(c) \
(c == ' ' || c == '\f' || c == '\n' || c == '\r' || c == '\t' || c == '\v')
More information about the poppler
mailing list