Commit 7c24e8d5 authored by Sergei Golubchik's avatar Sergei Golubchik

fixes for windows

parent 04a4b433
INCLUDE_DIRECTORIES( INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/extra/libevent ${CMAKE_SOURCE_DIR}/extra/libevent
${CMAKE_SOURCE_DIR}/extra/libevent/compat ${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) IF(MSVC)
ADD_DEFINITIONS("-DWIN32 -DHAVE_CONFIG_H") ADD_DEFINITIONS("-DWIN32 -DHAVE_CONFIG_H")
......
...@@ -159,6 +159,8 @@ ...@@ -159,6 +159,8 @@
extern "C" { extern "C" {
#endif #endif
#include <my_attribute.h>
#include <event-config.h> #include <event-config.h>
#ifdef _EVENT_HAVE_SYS_TYPES_H #ifdef _EVENT_HAVE_SYS_TYPES_H
#include <sys/types.h> #include <sys/types.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment