summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/thread/thread.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/thread/thread.cc b/examples/thread/thread.cc
index 816e7c73..f535254d 100644
--- a/examples/thread/thread.cc
+++ b/examples/thread/thread.cc
@@ -4,6 +4,11 @@
#include <mutex>
#include <condition_variable>
#include <queue>
+#include <memory>
+#if defined (_MSC_VER) && (_MSC_VER < 1900)
+/* For using noexcept on Visual Studio 2013 */
+#include <glibmmconfig.h>
+#endif
#include <glibmm/random.h>
#include <glibmm/timer.h>
#include <glibmm/init.h>