On 11/10/18 22:20, Karol Babioch wrote: > src/utils/wpa_debug.c | 15 ++++++++++++++- > 1 file changed, 14 insertions(+), 1 deletion(-) > > diff --git a/src/utils/wpa_debug.c b/src/utils/wpa_debug.c > index 62758d864..b412f88e3 100644 > --- a/src/utils/wpa_debug.c > +++ b/src/utils/wpa_debug.c > @@ -58,6 +58,10 @@ static int wpa_to_android_level(int level) > #ifndef CONFIG_NO_STDOUT_DEBUG > > #ifdef CONFIG_DEBUG_FILE > +#include <sys/types.h> > +#include <sys/stat.h> > + > +static int out_fd = -1; Does out_fd have to be a global variable given that it is only used in wpa_debug_open? _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap