From 2cc5ebdd331a07f1b52ad2f01463ac1e451766cc Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 2 Nov 2011 10:48:26 +0200 Subject: [PATCH] dbus: Fix some build combination without new D-Bus interface Include common/defs.h to get full enum definitions to avoid compiler errors without CONFIG_CTRL_IFACE_DBUS_NEW. Signed-hostap: Jouni Malinen --- wpa_supplicant/dbus/dbus_new.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wpa_supplicant/dbus/dbus_new.h b/wpa_supplicant/dbus/dbus_new.h index f4a830a18..ec03b642f 100644 --- a/wpa_supplicant/dbus/dbus_new.h +++ b/wpa_supplicant/dbus/dbus_new.h @@ -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,