diff --git a/BUILD.bazel b/BUILD.bazel
index d920390..44c9b13 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -1,3 +1,5 @@
+load("@rules_cc//cc:defs.bzl", "cc_library")
+
 cc_library(
     name = "common",
     srcs = [
diff --git a/MODULE.bazel b/MODULE.bazel
index d81a5d6..f9e1e8b 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -3,3 +3,5 @@ module(
     version = "2.39.3.bcr.1",
     compatibility_level = 1,
 )
+
+bazel_dep(name = "rules_cc", version = "0.0.9")
