0
0
mirror of https://github.com/darkk/redsocks.git synced 2025-08-24 18:58:36 +00:00
redsocks/libevent-compat.h
Leonid Evdokimov 18e2b5ed1f Fix compilation on Ubuntu 10.04 LTS and (hopefully) Debian squeeze[1]
fixes #28, fixes #22, fixes #24
[1] current "stable" release
2012-09-12 02:05:39 +04:00

12 lines
428 B
C

#ifndef UUID_FC148CFA_5ECC_488E_8A62_CD39406C9F1E
#define UUID_FC148CFA_5ECC_488E_8A62_CD39406C9F1E
/* evutil_socket_t is macros in libevent-2.0, not typedef, libevent-1.4 is
* still supported because of Ubuntu 10.04 LTS */
#ifndef evutil_socket_t
# warning Using hardcoded value for evutil_socket_t as libevent headers do not define it.
# define evutil_socket_t int
#endif
#endif // FC148CFA_5ECC_488E_8A62_CD39406C9F1E