--- a/wpa_supplicant/wps_supplicant.h
+++ b/wpa_supplicant/wps_supplicant.h
@@ -9,6 +9,7 @@
 #ifndef WPS_SUPPLICANT_H
 #define WPS_SUPPLICANT_H
 
+struct wpa_bss;
 struct wpa_scan_results;
 
 #ifdef CONFIG_WPS
@@ -16,8 +17,6 @@ struct wpa_scan_results;
 #include "wps/wps.h"
 #include "wps/wps_defs.h"
 
-struct wpa_bss;
-
 struct wps_new_ap_settings {
 	const char *ssid_hex;
 	const char *auth;
