summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/song/ModifiedSinceSongFilter.cxx1
-rw-r--r--src/time/ISO8601.cxx3
-rw-r--r--src/time/ISO8601.hxx7
3 files changed, 7 insertions, 4 deletions
diff --git a/src/song/ModifiedSinceSongFilter.cxx b/src/song/ModifiedSinceSongFilter.cxx
index e490bce8a..b26ebbf28 100644
--- a/src/song/ModifiedSinceSongFilter.cxx
+++ b/src/song/ModifiedSinceSongFilter.cxx
@@ -20,6 +20,7 @@
#include "ModifiedSinceSongFilter.hxx"
#include "LightSong.hxx"
#include "time/ISO8601.hxx"
+#include "util/StringBuffer.hxx"
std::string
ModifiedSinceSongFilter::ToExpression() const noexcept
diff --git a/src/time/ISO8601.cxx b/src/time/ISO8601.cxx
index b9ce08361..fb6d32899 100644
--- a/src/time/ISO8601.cxx
+++ b/src/time/ISO8601.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright 2007-2017 Content Management AG
+ * Copyright 2007-2019 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
@@ -33,6 +33,7 @@
#include "ISO8601.hxx"
#include "Convert.hxx"
#include "Parser.hxx"
+#include "util/StringBuffer.hxx"
StringBuffer<64>
FormatISO8601(const struct tm &tm) noexcept
diff --git a/src/time/ISO8601.hxx b/src/time/ISO8601.hxx
index 10a171d26..b6788a458 100644
--- a/src/time/ISO8601.hxx
+++ b/src/time/ISO8601.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright 2007-2017 Content Management AG
+ * Copyright 2007-2019 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
@@ -33,13 +33,14 @@
#ifndef TIME_ISO8601_HXX
#define TIME_ISO8601_HXX
-#include "util/StringBuffer.hxx"
#include "util/Compiler.h"
-#include <string>
#include <chrono>
+#include <stddef.h>
+
struct tm;
+template<size_t CAPACITY> class StringBuffer;
gcc_pure
StringBuffer<64>