]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
dbus: Fix some build combination without new D-Bus interface
authorJouni Malinen <j@w1.fi>
Wed, 2 Nov 2011 08:48:26 +0000 (10:48 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 2 Nov 2011 08:48:26 +0000 (10:48 +0200)
Include common/defs.h to get full enum definitions to avoid compiler
errors without CONFIG_CTRL_IFACE_DBUS_NEW.

Signed-hostap: Jouni Malinen <j@w1.fi>

wpa_supplicant/dbus/dbus_new.h

index f4a830a186a846644458ef8ab470fe307cff2c98..ec03b642fcf1fe125abd3fbadc4c472dcbc62cc1 100644 (file)
@@ -16,6 +16,7 @@
 #ifndef CTRL_IFACE_DBUS_NEW_H
 #define CTRL_IFACE_DBUS_NEW_H
 
+#include "common/defs.h"
 #include "p2p/p2p.h"
 
 struct wpa_global;
@@ -24,8 +25,6 @@ struct wpa_ssid;
 struct wps_event_m2d;
 struct wps_event_fail;
 struct wps_credential;
-enum wpa_states;
-enum wpa_ctrl_req_type;
 
 enum wpas_dbus_prop {
        WPAS_DBUS_PROP_AP_SCAN,