From 043c4d515f352eff052b42dfc5a4bf5fe0dc00f6 Mon Sep 17 00:00:00 2001
From: Vo Van Nghia <vovannghia2409@gmail.com>
Date: Tue, 4 Aug 2020 01:26:23 +0700
Subject: [PATCH] Use c_api_macros instead of c_api

---
 tensorflow/c/BUILD     | 2 +-
 tensorflow/c/logging.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tensorflow/c/BUILD b/tensorflow/c/BUILD
index 5f64c43dfd3..e5efe323922 100644
--- a/tensorflow/c/BUILD
+++ b/tensorflow/c/BUILD
@@ -218,7 +218,7 @@ cc_library(
     srcs = ["logging.cc"],
     hdrs = ["logging.h"],
     deps = [
-        ":c_api",
+        ":c_api_macros",
         "//tensorflow/core/platform:logging",
         "//tensorflow/core/platform:stringprintf",
     ],
diff --git a/tensorflow/c/logging.h b/tensorflow/c/logging.h
index ad97cbf8c8a..9583777b661 100644
--- a/tensorflow/c/logging.h
+++ b/tensorflow/c/logging.h
@@ -15,7 +15,7 @@ limitations under the License.
 #ifndef TENSORFLOW_C_LOGGING_H_
 #define TENSORFLOW_C_LOGGING_H_
 
-#include "tensorflow/c/c_api.h"
+#include "tensorflow/c/c_api_macros.h"
 
 // --------------------------------------------------------------------------
 // C API for tensorflow::Logging.