fixes for windows
This commit is contained in:
parent
04a4b43346
commit
7c24e8d54d
@ -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")
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user