diff --git a/common/misc.c b/common/misc.c index 9fded4bbb..121d51d9a 100644 --- a/common/misc.c +++ b/common/misc.c @@ -34,7 +34,7 @@ void *sbrk (ptrdiff_t increment) int errno; -void perror(char *s) +void perror(const char *s) { #ifdef CONFIG_ERRNO_MESSAGES char *str; diff --git a/net/eth.c b/net/eth.c index 974c615cf..4acda47fc 100644 --- a/net/eth.c +++ b/net/eth.c @@ -28,6 +28,7 @@ #include #include #include +#include static int enetaddr_set(struct device_d *dev, struct param_d *param, value_t val) {