Skip to content

Commit

Permalink
memcached: add alloc.c to build
Browse files Browse the repository at this point in the history
Needed for #96
  • Loading branch information
ligurio committed Apr 6, 2022
1 parent 78dc98e commit 71c9ece
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions memcached/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-deprecated")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated")

add_library(internalso SHARED
"internal/alloc.c"
"internal/constants.c"
"internal/utils.c"
"internal/proto_bin.c"
Expand Down
2 changes: 0 additions & 2 deletions memcached/internal/alloc.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#include <tarantool/module.h>
#include <small/slab_cache.h>

#include "memcached_persistent.h"

void *
box_persistent_malloc(size_t len, size_t *total)
{
Expand Down

0 comments on commit 71c9ece

Please sign in to comment.