diff options
Diffstat (limited to 'src/vppinfra')
-rw-r--r-- | src/vppinfra/cache.h | 3 | ||||
-rw-r--r-- | src/vppinfra/clib.h | 2 | ||||
-rw-r--r-- | src/vppinfra/config.h.in | 1 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/vppinfra/cache.h b/src/vppinfra/cache.h index ac0835523cb..7a54d34dfee 100644 --- a/src/vppinfra/cache.h +++ b/src/vppinfra/cache.h @@ -45,9 +45,6 @@ */ #ifndef CLIB_LOG2_CACHE_LINE_BYTES -/* defines CLIB_LOG2_CACHE_LINE_BYTES */ -#include <vppinfra/config.h> - /* Default cache line size of 64 bytes. */ #ifndef CLIB_LOG2_CACHE_LINE_BYTES #define CLIB_LOG2_CACHE_LINE_BYTES 6 diff --git a/src/vppinfra/clib.h b/src/vppinfra/clib.h index 42748b0a34c..a6f88245d79 100644 --- a/src/vppinfra/clib.h +++ b/src/vppinfra/clib.h @@ -38,6 +38,8 @@ #ifndef included_clib_h #define included_clib_h +#include <vppinfra/config.h> + /* Standalone means to not assume we are running on a Unix box. */ #if ! defined (CLIB_STANDALONE) && ! defined (CLIB_LINUX_KERNEL) #define CLIB_UNIX diff --git a/src/vppinfra/config.h.in b/src/vppinfra/config.h.in index 0947c7166f0..58a973144e0 100644 --- a/src/vppinfra/config.h.in +++ b/src/vppinfra/config.h.in @@ -20,4 +20,5 @@ #define CLIB_LOG2_CACHE_LINE_BYTES @LOG2_CACHE_LINE_BYTES@ #endif +#define USE_DLMALLOC @DLMALLOC@ #endif |