diff --git a/sys/net/routing/aodvv2/reader.c b/sys/net/routing/aodvv2/reader.c index bb8fedba3f..fea8a77b87 100644 --- a/sys/net/routing/aodvv2/reader.c +++ b/sys/net/routing/aodvv2/reader.c @@ -27,6 +27,11 @@ #define ENABLE_DEBUG (0) #include "debug.h" +#if ENABLE_DEBUG +/* For PRIu16 etc. */ +#include +#endif + #define VERBOSE_DEBUG (0) #if VERBOSE_DEBUG #define VDEBUG(...) AODV_DEBUG(__VA_ARGS__) diff --git a/sys/net/routing/aodvv2/routingtable.c b/sys/net/routing/aodvv2/routingtable.c index d2cd845176..87c0a954a6 100644 --- a/sys/net/routing/aodvv2/routingtable.c +++ b/sys/net/routing/aodvv2/routingtable.c @@ -17,6 +17,9 @@ * @author Lotte Steenbrink */ +#include +#include + #include "routingtable.h" #include "aodv_debug.h"