summaryrefslogtreecommitdiff
path: root/link.h
diff options
context:
space:
mode:
Diffstat (limited to 'link.h')
-rw-r--r--link.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/link.h b/link.h
index 67ec433..f201e8c 100644
--- a/link.h
+++ b/link.h
@@ -6,6 +6,10 @@
#include <linux/ethtool.h>
#include <linux/wireless.h>
+#ifndef SPEED_UNKNOWN
+#define SPEED_UNKNOWN -1
+#endif
+
#include "built_in.h"
extern int wireless_sigqual(const char *ifname, struct iw_statistics *stats);