[Pkg-bitcoin-commits] [libunivalue] 26/76: numberparse: add needed #include's for independent builds

Jonas Smedegaard dr at jones.dk
Mon Apr 4 09:18:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libunivalue.

commit 1a08d30f55400dd95f2aff39deb67bbd861ee0ab
Author: Jeff Garzik <jgarzik at bitpay.com>
Date:   Fri Sep 4 22:51:57 2015 -0400

    numberparse: add needed #include's for independent builds
---
 numberparse.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/numberparse.cpp b/numberparse.cpp
index 663cf8e..e04daec 100644
--- a/numberparse.cpp
+++ b/numberparse.cpp
@@ -2,7 +2,9 @@
 // Distributed under the MIT software license, see the accompanying
 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
 
+#include <limits>
 #include <errno.h>
+#include <string.h>
 #include <stdlib.h>
 #include <locale>
 #include <sstream>
@@ -61,4 +63,5 @@ bool ParseDouble(const std::string& str, double *out)
     text >> result;
     if(out) *out = result;
     return text.eof() && !text.fail();
-}
\ No newline at end of file
+}
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/libunivalue.git



More information about the Pkg-bitcoin-commits mailing list