|
--- iw_scan.c.orig
|
|
+++ iw_scan.c
|
|
@@ -368,6 +368,13 @@
|
|
sr->num.ch_stats = n < MAX_CH_STATS ? n : MAX_CH_STATS;
|
|
}
|
|
|
|
+#ifndef __GLIBC__
|
|
+int on_exit(void (*function)(int , void *), void *arg)
|
|
+{
|
|
+ return -1;
|
|
+}
|
|
+#endif
|
|
+
|
|
/** The actual scan thread. */
|
|
void *do_scan(void *sr_ptr)
|
|
{
|