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:
Jouni Malinen 2010-01-01 18:16:24 +02:00
parent 00a4784d24
commit 36b5c6871c
3 changed files with 11 additions and 20 deletions

View file

@ -25,6 +25,17 @@
#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
* claiming bus name

View file

@ -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_INTERFACE_MAX 150
#define WPAS_DBUS_METHOD_SIGNAL_PROP_MAX 50

View file

@ -19,16 +19,6 @@ struct wps_credential;
#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>
#define WPAS_DBUS_OBJECT_PATH_MAX 150