are you on a debian based system (ubuntu, mint, etc), if so:
sudo apt-get install -y libcurl4-openssl-dev
otherwise look for a libcurl dev(eloper) package.
for compiling you need the headers of given libs. ie, if you have a library libfoo, you need to install libfoo-dev if you want to use it in your code.
no, i using Archlinux. well 'curl' package contain header (theres no *-dev package on Arch), thats why im asking here.
anyway thanks for replying.