Commit a81592b5 authored by Ulrich Huber's avatar Ulrich Huber Committed by Oliver Horst
Browse files

[add] Add unistd header required by lwIP

parent 1e5010de
#ifndef _ATOI_H
#define _ATOI_H
int atoi(const char *str);
#endif /* _ATOI_H */
......@@ -26,6 +26,11 @@ void * fl_malloc(size_t size);
#define free fl_free
void fl_free(void * ptr);
/**
* String conversion routines
*/
int atoi(const char *str);
#ifdef __cplusplus
}
#endif //__cplusplus
......
//
// Created by ulrich on 18.05.20.
//
#ifndef TOKI_UNISTD_H
#define TOKI_UNISTD_H
#include <sys/types.h>
#endif //TOKI_UNISTD_H
#include <stddef.h>
#include <stdlib.h>
int atoi(const char *str) {
int num = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment