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.

RTOS/AM3359: Timeval definition conflict

Part Number: AM3359
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hello,

i am using:

ndk_2_26_00_08

SYSBIOS 6.52

TI v18.1.2 LTS compiler

var Settings = xdc.useModule('ti.sysbios.posix.Settings'); in app.cfg

I have problems with the redefinition of timeval in 

<sys/time.h> located in bios_6_52_00_12\packages\ti\sysbios\posix\sys\time.h

If i change the definition in sys/time.h from just

struct timeval {
  time_t      tv_sec;
  suseconds_t tv_usec;
};

to 

#ifndef _TIMEVAL_DEFINED
#define _TIMEVAL_DEFINED
struct timeval {
  time_t      tv_sec;
  suseconds_t tv_usec;
};
#endif

it will work, but the problem is that every colleague need to change it too, we work with SVN.

Will this be fixed? Or did i forgot something and need a specific include order?

Marvin