Skip to content

Commit

Permalink
include <sstream> in vrpathregistry_public.cpp
Browse files Browse the repository at this point in the history
std::istringstream requires this include.
Currently it is accidentally pulled in by including json.h.
Other jsoncpp versions don't provide that include, for example with ValveSoftware#1178
the build breaks on debian stable.
  • Loading branch information
ChristophHaag committed Mar 31, 2020
1 parent 26fa19e commit 5415a5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vrcommon/vrpathregistry_public.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#include "strtools_public.h"
#include "dirtools_public.h"

#include <sstream>

#if defined( WIN32 )
#include <windows.h>
#include <shlobj.h>
Expand Down

0 comments on commit 5415a5f

Please sign in to comment.