summaryrefslogtreecommitdiff
path: root/extra/libevent
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2010-10-26 07:37:44 +0200
committerSergei Golubchik <sergii@pisem.net>2010-10-26 07:37:44 +0200
commit7c24e8d54d1d41374b7836e3273e7e5eaf22e2c4 (patch)
tree61cffb97cd037196f07dc22d894577dc335f9a15 /extra/libevent
parent04a4b4334650b2183d25a7b04c1e83c31bffb22d (diff)
downloadmariadb-git-7c24e8d54d1d41374b7836e3273e7e5eaf22e2c4.tar.gz
fixes for windows
Diffstat (limited to 'extra/libevent')
-rw-r--r--extra/libevent/CMakeLists.txt3
-rw-r--r--extra/libevent/event.h2
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>