curl 7.21.6 does not compile on Solaris 9 Sparc as docs/examples/anyauthput.c unconditionally includes stdint,h. The attached patch includes stdint.h only when detected and falls back to stdint.h
Use stdint.h only when available
For easiest application you can pull from https://github.com/bagder/curl/pull/16
Best regards
-- Dago
doesn't curl/curlbuild.h already include those files (included from curl/curl.h) so you can just remove the explicit include files from the example?
Yes, you are right. You can just remove the inclusion of stdint.h
Thanks for the report, this problem is now fixed in the git repository.
To try it out, you either checkout/update your git clone: http://curl.haxx.se/source.html
or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/
Use stdint.h only when available
For easiest application you can pull from
https://github.com/bagder/curl/pull/16
Best regards
-- Dago
doesn't curl/curlbuild.h already include those files (included from curl/curl.h) so you can just remove the explicit include files from the example?
Yes, you are right. You can just remove the inclusion of stdint.h
Best regards
-- Dago
Thanks for the report, this problem is now fixed in the git repository.
To try it out, you either checkout/update your git clone: http://curl.haxx.se/source.html
or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/