gazelle/0310-DUMP-fix-build-error-of-oe2003-because-of-micro-is-n.patch
yinbin 4780c8d500 sync DUMP: fix build error of oe2003 because of micro is not defined.
(cherry picked from commit 9d1790502c1e67e1ffc0fae157c7d454070139dd)
2024-12-19 14:12:01 +08:00

27 lines
637 B
Diff

From 2def683d0139084f48dc15d118af1d78e687e1f0 Mon Sep 17 00:00:00 2001
From: yinbin <yinbin8@huawei.com>
Date: Wed, 18 Dec 2024 19:54:29 +0800
Subject: [PATCH] DUMP: fix build error of oe2003 because of micro is not
defined.
---
src/lstack/core/lstack_dump.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/lstack/core/lstack_dump.c b/src/lstack/core/lstack_dump.c
index d415ddc..969ca2b 100644
--- a/src/lstack/core/lstack_dump.c
+++ b/src/lstack/core/lstack_dump.c
@@ -14,6 +14,8 @@
#include <sys/time.h>
#include <execinfo.h>
+#include <rte_cycles.h>
+
#include "lstack_cfg.h"
#include "lstack_log.h"
--
2.33.0