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 <j@w1.fi>
This commit is contained in:
Jouni Malinen 2011-11-02 10:48:26 +02:00
parent 406edc84cb
commit 2cc5ebdd33
1 changed files with 1 additions and 2 deletions

View 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,