diff options
author | Sergey Kostanbaev <sergey.kostanbaev@gmail.com> | 2018-10-23 14:17:08 +0300 |
---|---|---|
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2019-10-09 01:47:55 +0300 |
commit | bcd1e7255838524c50bc3e36cb9032151e9b1344 (patch) | |
tree | cc40585fe8b3c330b4500d3db9772383c1fb7d16 | |
parent | 928141b7d682a80b12875ef5d288646755dba44e (diff) |
CommonLibs: check HAVE_CONFIG_H before including it
Change-Id: Idb9e938e7794b67b1db23a31e106c8945f79cf24
-rw-r--r-- | CommonLibs/trx_vty.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CommonLibs/trx_vty.c b/CommonLibs/trx_vty.c index bac9653..9a9e040 100644 --- a/CommonLibs/trx_vty.c +++ b/CommonLibs/trx_vty.c @@ -37,7 +37,10 @@ #include "trx_rate_ctr.h" #include "trx_vty.h" -#include "../config.h" + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif static struct trx_ctx* g_trx_ctx; |