summaryrefslogtreecommitdiff
path: root/goo
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2012-07-31 23:32:19 +0200
committerAlbert Astals Cid <aacid@kde.org>2012-07-31 23:34:21 +0200
commit78c6a5615013d26b8a2babb13b3c4f7d6a1d70a4 (patch)
treee35644608ba8c328aa760e16352482cdb4a646b5 /goo
parent36481939e3064de920e49d9d1742a85473a50963 (diff)
Replace c++ style includes with c style ones
Fixes build in Solaris 10 Bug #52426
Diffstat (limited to 'goo')
-rw-r--r--goo/gstrtod.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/goo/gstrtod.cc b/goo/gstrtod.cc
index e6c3a007..cd1d5b55 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@kde.org>
+ * Copyright (C) 2007, 2012 Albert Astals Cid <aacid@kde.org>
* Copyright (C) 2007 Carlos Garcia Campos <carlosgc@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')