summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-04-24 01:53:59 +0200
committerRobin Gareus <robin@gareus.org>2020-04-24 01:53:59 +0200
commitdbcbfd7b5b482d51cadbacb1b41b1bfe1d08f74f (patch)
treec1a9edea0a36beebf8506d0b2b3934b2fd791074 /libs/pbd
parent2aa5e90290db6197c27dfbc8077e1fe657bb5b78 (diff)
Fix builds, missing include
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/xml++.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/pbd/xml++.cc b/libs/pbd/xml++.cc
index 378ccd7b4f..c890135a09 100644
--- a/libs/pbd/xml++.cc
+++ b/libs/pbd/xml++.cc
@@ -5,6 +5,7 @@
* Modified for Ardour and released under the same terms.
*/
+#include <string.h>
#include <iostream>
#include "pbd/stacktrace.h"
@@ -135,7 +136,7 @@ XMLTree::read_buffer (char const* buffer, bool to_tree_doc)
xmlKeepBlanksDefault(0);
- doc = xmlParseMemory (buffer, strlen(buffer));
+ doc = xmlParseMemory (buffer, ::strlen(buffer));
if (!doc) {
return false;
}