1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys: fmt: fix includes

This commit is contained in:
Kaspar Schleiser 2016-02-28 22:22:03 +01:00
parent 9082273746
commit 2567feebf2

View File

@ -18,8 +18,12 @@
#include <stdint.h>
#include <unistd.h>
#ifdef __WITH_AVRLIBC__
#include <stdio.h> /* for fwrite() */
#else
/* work around broken sys/posix/unistd.h */
ssize_t write(int fildes, const void *buf, size_t nbyte);
#endif
#include "fmt.h"