Commit 4eefb537 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz Committed by Michael Weber

Include <cstddef> for ptrdiff_t.

In g++-4.6, most libstdc++ standard headers have been changed to no
longer include the cstddef header as an implementation detail.
parent 4cd65ff9
......@@ -3,6 +3,7 @@
#include <vector>
#include <iterator>
#include <algorithm>
#include <cstddef> // ptrdiff_t
#ifndef WIBBLE_LIST_H
#define WIBBLE_LIST_H
......@@ -272,7 +273,7 @@ struct Map {
}
Map() {}
Map( const List &_l, const F &_f )
Map( const List &_l, const F &_f )
: l( _l )
{
f() = _f;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment