The header uses std::ostream, so it must be declared.
@@ -9,6 +9,7 @@
#if !defined(JSON_IS_AMALGAMATION)
#include "value.h"
#endif // if !defined(JSON_IS_AMALGAMATION)
+#include <iosfwd>
#include <vector>
#include <string>