Erreur de compil Arduino Due

Bonjour,

Dans Time.h au début :

#include <inttypes.h>
#ifndef AVR
#include <sys/types.h> // for __time_t_defined, but avr libc lacks sys/types.h
#endif

#if !defined(__time_t_defined) // avoid conflict with newlib or other posix libc
typedef unsigned long time_t;
#endif

Pas de bol la libc de ARM-gcc possède bien le fichier sys.types.h contrairement à la avr-libc.

Commente la ligne suivante et ça devrais marcher :

typedef unsigned long time_t;