dbus: Move the SIGPOLL FreeBSD compat code into dbus_common.c
No point in storing this in header files anymore since SIGPOLL is only used in dbus_common.c.
This commit is contained in:
parent
00a4784d24
commit
36b5c6871c
3 changed files with 11 additions and 20 deletions
|
@ -25,6 +25,17 @@
|
||||||
#include "dbus_old.h"
|
#include "dbus_old.h"
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef SIGPOLL
|
||||||
|
#ifdef SIGIO
|
||||||
|
/*
|
||||||
|
* If we do not have SIGPOLL, try to use SIGIO instead. This is needed for
|
||||||
|
* FreeBSD.
|
||||||
|
*/
|
||||||
|
#define SIGPOLL SIGIO
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* dispatch_initial_dbus_messages - Dispatch initial dbus messages after
|
* dispatch_initial_dbus_messages - Dispatch initial dbus messages after
|
||||||
* claiming bus name
|
* claiming bus name
|
||||||
|
|
|
@ -115,16 +115,6 @@ struct wpa_dbus_property_desc {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#ifndef SIGPOLL
|
|
||||||
#ifdef SIGIO
|
|
||||||
/*
|
|
||||||
* If we do not have SIGPOLL, try to use SIGIO instead. This is needed for
|
|
||||||
* FreeBSD.
|
|
||||||
*/
|
|
||||||
#define SIGPOLL SIGIO
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define WPAS_DBUS_OBJECT_PATH_MAX 150
|
#define WPAS_DBUS_OBJECT_PATH_MAX 150
|
||||||
#define WPAS_DBUS_INTERFACE_MAX 150
|
#define WPAS_DBUS_INTERFACE_MAX 150
|
||||||
#define WPAS_DBUS_METHOD_SIGNAL_PROP_MAX 50
|
#define WPAS_DBUS_METHOD_SIGNAL_PROP_MAX 50
|
||||||
|
|
|
@ -19,16 +19,6 @@ struct wps_credential;
|
||||||
|
|
||||||
#ifdef CONFIG_CTRL_IFACE_DBUS
|
#ifdef CONFIG_CTRL_IFACE_DBUS
|
||||||
|
|
||||||
#ifndef SIGPOLL
|
|
||||||
#ifdef SIGIO
|
|
||||||
/*
|
|
||||||
* If we do not have SIGPOLL, try to use SIGIO instead. This is needed for
|
|
||||||
* FreeBSD.
|
|
||||||
*/
|
|
||||||
#define SIGPOLL SIGIO
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <dbus/dbus.h>
|
#include <dbus/dbus.h>
|
||||||
|
|
||||||
#define WPAS_DBUS_OBJECT_PATH_MAX 150
|
#define WPAS_DBUS_OBJECT_PATH_MAX 150
|
||||||
|
|
Loading…
Reference in a new issue