Commit 0f040a70 authored by Eric Wong's avatar Eric Wong

Always compile ioops.h, since main_notify uses it now

git-svn-id: https://svn.musicpd.org/mpd/trunk@7356 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 412ce8bd
......@@ -20,8 +20,6 @@
/* Eventually the listener protocol will use this, too */
#ifdef HAVE_ZEROCONF
/*
* functions and variables in this file are only used by a single thread and
* thus do not need to be thread-safe
......@@ -84,4 +82,3 @@ void deregisterIO(struct ioOps *ops)
ops->prev->next = ops->next;
}
#endif /* HAVE_ZEROCONF */
......@@ -22,7 +22,6 @@
#include "../config.h"
#include "os_compat.h"
#ifdef HAVE_ZEROCONF
struct ioOps {
struct ioOps *prev, *next;
......@@ -58,11 +57,4 @@ void registered_IO_add_fds(int *fdmax,
/* Consume fds for all registered IO handlers */
void registered_IO_consume_fds(int *selret,
fd_set * rfds, fd_set * wfds, fd_set * efds);
#else /* ! HAVE_ZEROCONF */
#define registered_IO_add_fds(fdmax,rfds,wfds,efds)
#define registered_IO_consume_fds(selret,rfds,wfds,efds)
#endif /* HAVE_ZEROCONF */
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment