summaryrefslogtreecommitdiff
path: root/bus
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2011-08-05 22:37:06 +0200
committerRalf Habacker <ralf.habacker@freenet.de>2011-08-05 22:37:06 +0200
commitab7b3f92bfc2bbed45ad8937ed211e6e205d167b (patch)
treef0cf6a9e3f126841bc45b39fe5b386117ac44db2 /bus
parent82495f4b4077b8bb60a9d0d23b13bbe54e79dae0 (diff)
downloaddbus-ab7b3f92bfc2bbed45ad8937ed211e6e205d167b.tar.gz
dbus-ab7b3f92bfc2bbed45ad8937ed211e6e205d167b.tar.bz2
dbus-ab7b3f92bfc2bbed45ad8937ed211e6e205d167b.zip
Win32 compile fix.
Do not limit ACTION_RELOAD to unix only because it is used in the crossplattform function handle_reload_watch().
Diffstat (limited to 'bus')
-rw-r--r--bus/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/main.c b/bus/main.c
index e879ff86..8a9ffdfe 100644
--- a/bus/main.c
+++ b/bus/main.c
@@ -48,13 +48,13 @@ static int reload_pipe[2];
static void close_reload_pipe (DBusWatch **);
-#ifdef DBUS_UNIX
typedef enum
{
ACTION_RELOAD = 'r',
ACTION_QUIT = 'q'
} SignalAction;
+#ifdef DBUS_UNIX
static void
signal_handler (int sig)
{