diff options
author | Sergei Golubchik <sergii@pisem.net> | 2010-10-26 07:37:44 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2010-10-26 07:37:44 +0200 |
commit | 7c24e8d54d1d41374b7836e3273e7e5eaf22e2c4 (patch) | |
tree | 61cffb97cd037196f07dc22d894577dc335f9a15 /extra/libevent | |
parent | 04a4b4334650b2183d25a7b04c1e83c31bffb22d (diff) | |
download | mariadb-git-7c24e8d54d1d41374b7836e3273e7e5eaf22e2c4.tar.gz |
fixes for windows
Diffstat (limited to 'extra/libevent')
-rw-r--r-- | extra/libevent/CMakeLists.txt | 3 | ||||
-rw-r--r-- | extra/libevent/event.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/extra/libevent/CMakeLists.txt b/extra/libevent/CMakeLists.txt index 66961502357..83a6cf0f220 100644 --- a/extra/libevent/CMakeLists.txt +++ b/extra/libevent/CMakeLists.txt @@ -1,7 +1,8 @@ INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/extra/libevent ${CMAKE_SOURCE_DIR}/extra/libevent/compat - ${CMAKE_SOURCE_DIR}/extra/libevent/WIN32-Code) + ${CMAKE_SOURCE_DIR}/extra/libevent/WIN32-Code + ${CMAKE_SOURCE_DIR}/include) IF(MSVC) ADD_DEFINITIONS("-DWIN32 -DHAVE_CONFIG_H") diff --git a/extra/libevent/event.h b/extra/libevent/event.h index 451ca895e2b..078c940770e 100644 --- a/extra/libevent/event.h +++ b/extra/libevent/event.h @@ -159,6 +159,8 @@ extern "C" { #endif +#include <my_attribute.h> + #include <event-config.h> #ifdef _EVENT_HAVE_SYS_TYPES_H #include <sys/types.h> |