Hi guys,
I try to compile libevent-1.3e on my debian etch box, and got an error
message which is "event.h:214: error: expected
specifier-qualifier-list before 'u_char'".
Is it a bug or did I do something wrong.
btw, if i put an statement " typedef unsigned char u_char;" before
include event.h, the compile goes smoothly.

#include <stdio.h>
// typedef unsigned char u_char;
#include <event.h>

int main()
{
        return 0;
}
-- 
Sincerely,

孙一鸣 Simon Sun
--
Be a man with simple interface.
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to