prog.c:5:28: error: curl/curlbuild.h: No such file or directory
prog.c:6:28: error: curl/curlrules.h: No such file or directory
prog.c:7:23: error: curl/easy.h: No such file or directory
prog.c:8:24: error: curl/multi.h: No such file or directory
prog.c:9:32: error: curl/typecheck-gcc.h: No such file or directory
prog.c:10:23: error: curl/curl.h: No such file or directory
prog.c:11:26: error: curl/curlver.h: No such file or directory
prog.c:12:26: error: curl/mprintf.h: No such file or directory
prog.c:13:30: error: curl/stdcheaders.h: No such file or directory
prog.c: In function ‘main’:
prog.c:19: error: ‘CURL’ undeclared (first use in this function)
prog.c:19: error: (Each undeclared identifier is reported only once
prog.c:19: error: for each function it appears in.)
prog.c:19: error: ‘curl’ undeclared (first use in this function)
prog.c:20: error: ‘CURLcode’ undeclared (first use in this function)
prog.c:20: error: expected ‘;’ before ‘res’
prog.c:22: warning: implicit declaration of function ‘curl_easy_init’
prog.c:24: warning: implicit declaration of function ‘curl_easy_setopt’
prog.c:24: error: ‘CURLOPT_URL’ undeclared (first use in this function)
prog.c:27: error: ‘res’ undeclared (first use in this function)
prog.c:27: warning: implicit declaration of function ‘curl_easy_perform’
prog.c:29: error: ‘CURLE_OK’ undeclared (first use in this function)
prog.c:31: warning: implicit declaration of function ‘curl_easy_strerror’
prog.c:31: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
prog.c:34: warning: implicit declaration of function ‘curl_easy_cleanup’