mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
posix/select: Add picolibc to cyclic dependency resolution
This commit is contained in:
parent
531050ada2
commit
26c1920cf1
@ -30,8 +30,9 @@
|
||||
#define SYS_SELECT_H
|
||||
|
||||
#include <string.h>
|
||||
/* prevent cyclic dependency with newlib's `sys/types.h` */
|
||||
#if defined(MODULE_NEWLIB) && !defined(CPU_ESP32) && !defined(CPU_ESP8266)
|
||||
/* prevent cyclic dependency with newlib/picolibc's `sys/types.h` */
|
||||
#if (defined(MODULE_NEWLIB) || defined(MODULE_PICOLIBC)) && \
|
||||
!defined(CPU_ESP32) && !defined(CPU_ESP8266)
|
||||
#include <sys/_timeval.h>
|
||||
#else
|
||||
#include <sys/time.h>
|
||||
|
Loading…
Reference in New Issue
Block a user