summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-12-16 22:52:50 +0100
committerMax Kellermann <max@musicpd.org>2019-12-16 22:52:50 +0100
commitdc3c0c88663daca8cd2302df74826681850e8445 (patch)
treef80e5df91f24839eb3737b48a9557f0ba7a55714 /src/lib
parent1c46bb1ba634961c4e395f6211e39c99dc090dc3 (diff)
pcm/Convert, ...: add missing include for std::runtime_error
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/curl/Slist.hxx1
-rw-r--r--src/lib/nfs/FileReader.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/curl/Slist.hxx b/src/lib/curl/Slist.hxx
index e0d73b51f..82c466b34 100644
--- a/src/lib/curl/Slist.hxx
+++ b/src/lib/curl/Slist.hxx
@@ -33,6 +33,7 @@
#include <curl/curl.h>
#include <algorithm>
+#include <stdexcept>
/**
* OO wrapper for "struct curl_slist *".
diff --git a/src/lib/nfs/FileReader.cxx b/src/lib/nfs/FileReader.cxx
index b0f290a0a..6fe4faaab 100644
--- a/src/lib/nfs/FileReader.cxx
+++ b/src/lib/nfs/FileReader.cxx
@@ -25,6 +25,7 @@
#include "util/ASCII.hxx"
#include <utility>
+#include <stdexcept>
#include <assert.h>
#include <string.h>