add missing includes

f41
David Tardon 10 years ago
parent e8ef66ed29
commit 867bc42ec9

@ -0,0 +1,38 @@
From e925abaa10227d30dc291bd20932f8d566a655d9 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Thu, 5 Mar 2015 16:58:35 +0100
Subject: [PATCH] add missing includes for assert()
---
include/mdds/multi_type_vector_types.hpp | 1 +
include/mdds/quad_node.hpp | 2 ++
2 files changed, 3 insertions(+)
diff --git a/include/mdds/multi_type_vector_types.hpp b/include/mdds/multi_type_vector_types.hpp
index 0a36333..3899acd 100644
--- a/include/mdds/multi_type_vector_types.hpp
+++ b/include/mdds/multi_type_vector_types.hpp
@@ -33,6 +33,7 @@
#include "global.hpp"
#include <algorithm>
+#include <cassert>
#ifdef MDDS_MULTI_TYPE_VECTOR_USE_DEQUE
#include <deque>
diff --git a/include/mdds/quad_node.hpp b/include/mdds/quad_node.hpp
index 4ece659..ab0b636 100644
--- a/include/mdds/quad_node.hpp
+++ b/include/mdds/quad_node.hpp
@@ -30,6 +30,8 @@
#include "mdds/global.hpp"
+#include <cassert>
+
#include <boost/intrusive_ptr.hpp>
namespace mdds {
--
2.1.0

@ -3,7 +3,7 @@
Name: mdds
Version: 0.12.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A collection of multi-dimensional data structures and indexing algorithms
Group: Development/Libraries
@ -13,6 +13,8 @@ Source0: http://kohei.us/files/%{name}/src/%{name}_%{version}.tar.bz2
BuildRequires: boost-devel
Patch0: 0001-add-missing-includes-for-assert.patch
%description
A collection of multi-dimensional data structures and indexing algorithms.
@ -59,6 +61,9 @@ make check %{?_smp_mflags}
%doc AUTHORS COPYING NEWS README
%changelog
* Thu Mar 05 2015 David Tardon <dtardon@redhat.com> - 0.12.0-2
- add missing includes
* Tue Feb 17 2015 David Tardon <dtardon@redhat.com> - 0.12.0-1
- new upstream release

Loading…
Cancel
Save