aom: Add #ifndef header guard to config/aom_version.h

From 17dfba0fbc59b14b7b752e5fb31ef1f9657ffaf0 Mon Sep 17 00:00:00 2001
From: Wan-Teh Chang <[EMAIL REDACTED]>
Date: Thu, 22 Aug 2024 13:22:21 -0700
Subject: [PATCH] Add #ifndef header guard to config/aom_version.h

Fix the Lint error:
  No #ifndef header guard found  [build/header_guard] [5]

Change-Id: I8132678367ad835ccf7955407492faa2088810f1
---
 build/cmake/version.pl | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/build/cmake/version.pl b/build/cmake/version.pl
index 400107ce80..e611418d83 100755
--- a/build/cmake/version.pl
+++ b/build/cmake/version.pl
@@ -89,6 +89,8 @@
 if (length($git_desc)) {
   print << "EOF";
 $lic_block
+#ifndef AOM_VERSION_H_
+#define AOM_VERSION_H_
 #define VERSION_MAJOR $version_major
 #define VERSION_MINOR $version_minor
 #define VERSION_PATCH $version_patch
@@ -97,10 +99,13 @@
   $version_packed
 #define VERSION_STRING_NOSP \"$git_desc\"
 #define VERSION_STRING \" $git_desc\"
+#endif  // AOM_VERSION_H_
 EOF
 } else {
   print << "EOF";
 $lic_block
+#ifndef AOM_VERSION_H_
+#define AOM_VERSION_H_
 #define VERSION_MAJOR $version_major
 #define VERSION_MINOR $version_minor
 #define VERSION_PATCH $version_patch
@@ -109,6 +114,7 @@
   $version_packed
 #define VERSION_STRING_NOSP \"v$version_string\"
 #define VERSION_STRING \" v$version_string\"
+#endif  // AOM_VERSION_H_
 EOF
 }
 close($version_file);