diff --git a/bridge/mst.c b/bridge/mst.c
index c8f7e6606c3c..fccb7fd68140 100644
--- a/bridge/mst.c
+++ b/bridge/mst.c
@@ -4,6 +4,7 @@
  */
 
 #include <stdio.h>
+#include <sys/time.h>
 #include <netinet/in.h>
 #include <linux/if_bridge.h>
 #include <net/if.h>
