Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
vvromanov committed Aug 29, 2017
1 parent a2fcb3d commit 74537f5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
docs/
html/
build/*
cmake-build-debug
.idea
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set(PROJECT_PATCH_VERSION 11)
set(PROJECT_VERSION ${PROJECT_MAJOR_VERSION}.${PROJECT_MINOR_VERSION}.${PROJECT_PATCH_VERSION})

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPROJECT_VERSION=${PROJECT_VERSION} -Wall")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -ggdb3")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -ggdb3 -fsanitize=address -fsanitize=leak -fstack-protector-strong")

SET(CMAKE_BUILD_TYPE Release CACHE STRING "default to Release")

Expand Down
1 change: 1 addition & 0 deletions include/evhtp/parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define __HTPARSE_H__

#include <evhtp/config.h>
#include <stdint.h>

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit 74537f5

Please sign in to comment.