configure complains of missing libevent C-headers

The configure script aborts with the following output:

WARNING: We found the libraries for libevent, but we could not find the C header files.  You may need to install a devel package.

The test that fails complains of an implicit function declaration of event_init. This can be resolved by including the headers

event2/event_compat.h

I have attached the patch I used (taken from iCepa) to accomplish this.

Trac:
Username: rainwolf

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information