$OpenBSD: patch-src_libqhullcpp_QhullIterator_h,v 1.1 2017/04/27 20:46:17 espie Exp $
--- src/libqhullcpp/QhullIterator.h.orig	Thu Apr 27 22:36:05 2017
+++ src/libqhullcpp/QhullIterator.h	Thu Apr 27 22:37:44 2017
@@ -16,8 +16,19 @@ extern "C" {
 #include <assert.h>
 #include <string>
 #include <vector>
+#if defined(_LIBCPP_VERSION)
+// shut up clang
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wc++11-extensions"
+_LIBCPP_BEGIN_NAMESPACE_STD
+	struct bidirectional_iterator_tag;
+	struct random_access_iterator_tag;
+_LIBCPP_END_NAMESPACE_STD
+# pragma GCC diagnostic pop
+#else
 //! Avoid dependence on <iterator>
 namespace std { struct bidirectional_iterator_tag; struct random_access_iterator_tag; }
+#endif
 
 namespace orgQhull {
 
