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.