sys: inet_pton: conditional include for atmega2560
include sys/types.h conditionally for atmega2560
Without this change test/unittests fails to build due to a missing
declaration of ssize_t
This commit is contained in:
parent
4ca3a49a5d
commit
c4a26a6acf
@ -18,6 +18,10 @@
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#if defined(MCU_ATMEGA2560)
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#include "kernel.h"
|
||||
|
||||
#include "inet_pton.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user