libdvr: fix smartcard test compile error [1/1]
PD#SWPL-163082
Problem:
smartcard test compile error
Solution:
fix smartcard test compile error
Verify:
verified at bm209
Change-Id: Ia6434accf941324d9a71932f159d7403e01aaf19
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
diff --git a/test/am_smc_test/am_smc.c b/test/am_smc_test/am_smc.c
index 7f35eef..ff8bb71 100644
--- a/test/am_smc_test/am_smc.c
+++ b/test/am_smc_test/am_smc.c
@@ -11,7 +11,7 @@
#define AM_DEBUG_LEVEL 5
//#include <am_debug.h>
-//#include "am_time.h"
+#include "am_time.h"
#include "am_mem.h"
#include "am_smc_internal.h"
#include "am_adp_internal.h"
diff --git a/test/am_smc_test/am_thread.c b/test/am_smc_test/am_thread.c
index c71e619..c8f3c29 100644
--- a/test/am_smc_test/am_thread.c
+++ b/test/am_smc_test/am_thread.c
@@ -14,6 +14,7 @@
#include <am_mem.h>
#include "pthread.h"
#include <stdio.h>
+#include <stdlib.h>
/****************************************************************************
* Type define
***************************************************************************/