From 9b8842a5885b152e4c91180fbccf6b2a5e57f992 Mon Sep 17 00:00:00 2001 From: Hyotaek Shim Date: Thu, 13 Jan 2022 12:55:39 +0900 Subject: [PATCH] Add define check for __SENSOR_INTERNAL_H__ Change-Id: I6d0e74a3e73ea4be8743ff5fd93363564bc7c1c2 Signed-off-by: Hyotaek Shim (cherry picked from commit 3d2268816fcf1a08bb20ee2cde4661548d31b4b6) --- include/sensor-internal.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/sensor-internal.h b/include/sensor-internal.h index fa12411..04ef69a 100644 --- a/include/sensor-internal.h +++ b/include/sensor-internal.h @@ -14,6 +14,9 @@ * limitations under the License. */ +#ifndef __SENSOR_INTERNAL_H__ +#define __SENSOR_INTERNAL_H__ + #include #include @@ -55,3 +58,5 @@ int sensor_util_get_attribute_int(sensor_type_e type, sensor_attribute_e attr, i #ifdef __cplusplus } #endif + +#endif /* __SENSOR_INTERNAL_H__ */ -- 2.34.1