vcpkg/ports/ignition-common1/add-include-chrono.patch

37 lines
861 B
Diff

diff --git a/include/ignition/common/Event.hh b/include/ignition/common/Event.hh
index 82c7e55..709f4a0 100644
--- a/include/ignition/common/Event.hh
+++ b/include/ignition/common/Event.hh
@@ -18,6 +18,7 @@
#define IGNITION_COMMON_EVENT_HH_
#include <atomic>
+#include <chrono>
#include <functional>
#include <list>
#include <map>
diff --git a/src/Console.cc b/src/Console.cc
index 1cc70db..d897cd6 100644
--- a/src/Console.cc
+++ b/src/Console.cc
@@ -14,6 +14,7 @@
* limitations under the License.
*
*/
+#include <chrono>
#include <string>
#include <sstream>
diff --git a/src/Util.cc b/src/Util.cc
index 5cd6699..46e8193 100644
--- a/src/Util.cc
+++ b/src/Util.cc
@@ -30,6 +30,7 @@
#include <cstdlib>
#include <cstring>
#include <cctype>
+#include <chrono>
#include <ignition/common/config.hh>
#include <ignition/common/SystemPaths.hh>