Change in ...osmo-trx[master]: CommonLibs: check HAVE_CONFIG_H before including it

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Name of user not set gerrit-no-reply at lists.osmocom.org
Mon Oct 7 17:59:33 UTC 2019


rauf.gyulaliev at fairwaves.co has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/15684


Change subject: CommonLibs: check HAVE_CONFIG_H before including it
......................................................................

CommonLibs: check HAVE_CONFIG_H before including it

Change-Id: Idb9e938e7794b67b1db23a31e106c8945f79cf24
---
M CommonLibs/trx_vty.c
1 file changed, 4 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/84/15684/1

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;
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/15684
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Idb9e938e7794b67b1db23a31e106c8945f79cf24
Gerrit-Change-Number: 15684
Gerrit-PatchSet: 1
Gerrit-Owner: rauf.gyulaliev at fairwaves.co
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191007/766463d0/attachment.htm>


More information about the gerrit-log mailing list