At 02:41 PM 11/18/2003, Alan DeKok wrote:
Chris Parker <[EMAIL PROTECTED]> wrote:
> Nope, current CVS load pukes at line 34 of src/include/sha1.h:

Ok, but which C file?

src/lib/sha1.c:12


Everything which uses sha1.h SHOULD include <sys/types.h>, first.

And it does include <sys/types.h> on line 10. Seems OSX doesn't have 'uint8_t' defined. It *does* however seem to have 'u_int8_t' defined.

Changing uint8_t to u_int8_t passed compilation without errors.

uint8_t is defined in ISO/IEC 9899:1990. u_int8_t is not.

Thanks Apple. :)

-Chris
--
   \\\|||///  \          StarNet Inc.      \         Chris Parker
   \ ~   ~ /   \       WX *is* Wireless!    \   Director, Engineering
   | @   @ |    \   http://www.starnetwx.net \      (847) 963-0116
oOo---(_)---oOo--\------------------------------------------------------
                  \ Wholesale Internet Services - http://www.megapop.net



- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to