[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] Re: [Libevent-users] httpserver.cpp:190: error: invalid application of ‘sizeof’ to incomplete type ‘evkeyvalq’




On Thu, Jun 30, 2011 at 11:36 AM, æç|åäæ <calidion@xxxxxxxxx> wrote:
hi, all
Âi am trying to extract the query information from uri,
Âand i found the evkeyvalq is used in input_headers.

so i copied the way the input_headers created by the following line:

evkeyvalq *query = (evkeyvalq *)calloc(1, sizeof(evkeyvalq));

You need to include <event2/keyvalq_struct.h> where this structure lives.
Â