ext: simplelink: Use Zephyr posix headers in cc_pal.h
We should use the headers from Zephyr, not the ones provided by TI for
their posix implementations.
Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
diff --git a/ext/hal/ti/simplelink/source/ti/drivers/net/wifi/porting/cc_pal.h b/ext/hal/ti/simplelink/source/ti/drivers/net/wifi/porting/cc_pal.h
index fd2006f..a24e1a0 100644
--- a/ext/hal/ti/simplelink/source/ti/drivers/net/wifi/porting/cc_pal.h
+++ b/ext/hal/ti/simplelink/source/ti/drivers/net/wifi/porting/cc_pal.h
@@ -49,21 +49,10 @@
#include <ti/drivers/dpl/ClockP.h>
#if defined(SL_PLATFORM_MULTI_THREADED)
-#if defined(__TI_COMPILER_VERSION__)
-#include <ti/posix/ccs/pthread.h>
-#include <ti/posix/ccs/semaphore.h>
-#include <ti/posix/ccs/unistd.h>
-#elif defined(__IAR_SYSTEMS_ICC__)
-#include <ti/posix/iar/pthread.h>
-#include <ti/posix/iar/semaphore.h>
-#include <ti/posix/iar/unistd.h>
-#elif defined(__GNUC__)
-#include <ti/posix/gcc/pthread.h>
-#include <ti/posix/gcc/semaphore.h>
-#include <ti/posix/gcc/unistd.h>
-#else
-#error "Unknown compiler, use __TI_COMPILER_VERSION__ __IAR_SYSTEMS_ICC__ or __GNUC__"
-#endif
+/* Use Zephyr posix headers */
+#include <posix/pthread.h>
+#include <posix/semaphore.h>
+#include <posix/unistd.h>
#else //SL_PLATFORM_MULTI_THREADED
#include <ti/drivers/dpl/SemaphoreP.h>
#include <ti/drivers/dpl/MutexP.h>