Menu

#1009 Unconditional include of stdint.h breaks Solaris9 compile

closed-fixed
5
2013-06-21
2011-04-28
No

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

Discussion

  • Dagobert Michelsen

    For easiest application you can pull from
    https://github.com/bagder/curl/pull/16

    Best regards

    -- Dago

     
  • Daniel Stenberg

    Daniel Stenberg - 2011-04-28

    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?

     
  • Dagobert Michelsen

    Yes, you are right. You can just remove the inclusion of stdint.h

    Best regards

    -- Dago

     
  • Daniel Stenberg

    Daniel Stenberg - 2011-04-28
    • status: open --> closed-fixed
     
  • Daniel Stenberg

    Daniel Stenberg - 2011-04-28

    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/