CommonLibs: check HAVE_CONFIG_H before including it

Change-Id: Idb9e938e7794b67b1db23a31e106c8945f79cf24
This commit is contained in:
Sergey Kostanbaev 2018-10-23 14:17:08 +03:00 committed by Alexander Couzens
parent 19faae85c6
commit 1c98bf07d8
1 changed files with 4 additions and 1 deletions

View File

@ -38,7 +38,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;