summaryrefslogtreecommitdiff
path: root/libs/pbd/convert.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-05-02 18:35:05 +0000
committerDavid Robillard <d@drobilla.net>2008-05-02 18:35:05 +0000
commitda45f489dd3d923bbba8f1cee39ab445c4bf1b64 (patch)
treed2e25bffbcd84d1cedafd21b2f855cd128cf6f8f /libs/pbd/convert.cc
parent38eb5f4539786e0edafc31e275ed598bd4e4164b (diff)
Fixes for GCC 4.3.
git-svn-id: svn://localhost/ardour2/branches/3.0@3303 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/convert.cc')
-rw-r--r--libs/pbd/convert.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/pbd/convert.cc b/libs/pbd/convert.cc
index 2ce99ba631..fc84bbad5e 100644
--- a/libs/pbd/convert.cc
+++ b/libs/pbd/convert.cc
@@ -19,6 +19,7 @@
#include <cmath>
#include <stdint.h>
+#include <stdlib.h>
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
#endif
@@ -101,13 +102,13 @@ short_version (string orig, string::size_type target_length)
int
atoi (const string& s)
{
- return std::atoi (s.c_str());
+ return ::atoi (s.c_str());
}
double
atof (const string& s)
{
- return std::atof (s.c_str());
+ return ::atof (s.c_str());
}
vector<string>