22 lines
585 B
Plaintext
22 lines
585 B
Plaintext
$OpenBSD: patch-src_include_fst_relabel_h,v 1.1 2017/05/07 20:00:26 espie Exp $
|
|
|
|
Index: src/include/fst/relabel.h
|
|
--- src/include/fst/relabel.h.orig
|
|
+++ src/include/fst/relabel.h
|
|
@@ -21,9 +21,15 @@
|
|
#ifndef FST_LIB_RELABEL_H__
|
|
#define FST_LIB_RELABEL_H__
|
|
|
|
+#if defined(__clang__) || __cplusplus >= 201103L
|
|
+#include<unordered_map>
|
|
+using std::unordered_map;
|
|
+using std::unordered_multimap;
|
|
+#else
|
|
#include <tr1/unordered_map>
|
|
using std::tr1::unordered_map;
|
|
using std::tr1::unordered_multimap;
|
|
+#endif
|
|
#include <string>
|
|
#include <utility>
|
|
using std::pair; using std::make_pair;
|