@snooper_ace
You disabled comments on your post. You need to install the curl headers.
Not sure what version is current for the pi but something like this should work
apt-get install libcurl4-openssl-dev
Or search for the right version and install that.
apt-cache search curl