build: update header path
authorDongkyun Son <dongkyun.s@samsung.com>
Thu, 14 Mar 2024 00:21:13 +0000 (09:21 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 1 May 2024 04:43:47 +0000 (13:43 +0900)
Fix fatal error: asm-arm/hwcap.h: No such file or directory

Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
gst/nnstreamer/hw_accel.c

index e782af1..f7e8da2 100644 (file)
 #include <errno.h>
 
 #if defined(__aarch64__) || defined(__arm__)
-#if defined(__TIZEN__)
-#include <asm-arm/hwcap.h>
-#elif defined(__ANDROID__) || defined(__linux__)
+#if defined(__TIZEN__) || defined(__ANDROID__) || defined(__linux__)
 #include <asm/hwcap.h>
-#endif /* __TIZEN__ */
+#endif /* __TIZEN__ || __ANDROID__ || __linux__ */
 #endif /* __arch64__ || __arm__ */
 
 #if !defined(__APPLE__)