<algorithm> No such file error
<p>I am working on a Raspberry Pi 2.</p>

<p>I need to use the arduPi library like in this <a href="https://www.cooking-hacks.com/documentation/tutorials/raspberry-pi-to-arduino-shields-connection-bridge/" rel="nofollow">example</a>.
I followed the installation procedure and I copied the code example.
I tried to compile it with <em>gcc</em> but I got the following error:</p>

<pre><code>arduPi.h:44:21: fatal error: algorithm: No such file or directory
 #include &lt;algorithm&gt;
</code></pre>

<p>Do you know how can I fix it?</p>