At 04:16 PM 11/18/2003, Alan DeKok wrote:
Chris Parker <[EMAIL PROTECTED]> wrote:
> 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.

See: src/include/autoconf.h

  If uint8_t isn't defined, that header file defines it.  So sha1.c
probably doesn't include autoconf.h.

<types>

OK, that should fix it. Try 'cvs update src/lib/sha1.c'

Nope. Same error. And I've verified sha1.c is including autconf.h.


config.log seem to indicate it passed the check.  Digging further, it
appears the test program includes <stdint.h>, which 'sha1.c' doesn't.

I've been told that <stdint.h> defines uint8_t on OS X.

So it looks like sha1.c should include:

#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif

-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