Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 8 months ago.
How to include #include <sys/time.h>
Hello everybody,
I want to compile a program I have on my nucleo F401RE. The problem is that the program include sys/time.h but the compiler canno't find it (even if the file is here)
As anyone faced the same problem ?
Not sure if this is the same, I added #include "time.h" to one of my F401 programs and it didn't hit any errors.
posted by Paul Staron 14 Sep 2015Hi Christopher, I am using FRDM-KL25Z and here is way I added time.h and didn't got any error
- include "Ethernet.h"
- include <time.h>
posted by Elmaddin Guliyev 15 Sep 2015Thank you both for your answer. But I already tested that but unfortunatly they are not the same. I need the struct timeval but it's not declared in time.h....
posted by Christopher Coat 15 Sep 2015