This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

time_t and clock_t defined in cc3000_common.h

Hi TI:

This might not be the right place for this, so please feel free to move this.

I started integrating WiFi into my application.  I was surprised to come across this compiler error.

"C:\ti\tirtos_1_10_00_23\packages\ti\drivers\wifi\cc3000\cc3000_common.h", line 133: error #102: "time_t" has already been declared in the current scope

"C:\ti\tirtos_1_10_00_23\packages\ti\drivers\wifi\cc3000\cc3000_common.h", line 134: error #102: "clock_t" has already been declared in the current scope

Upon looking at cc3000_common.h, I see the following:

//*****************************************************************************

//                  Compound Types

//*****************************************************************************

typedef long time_t;  <----------

typedef unsigned long clock_t;  <-------------

typedef long suseconds_t;

I was surprised to see them knowing that time.h already has these defined.

I commented them out and moved on; but, is there something else going on that I'm not seeing?  IE.  Did I pursue the correct course of action?

Thanks

Rick