/** @file server/speaker-alsa.c
* @brief Support for @ref BACKEND_ALSA */
-#include <config.h>
+#include "common.h"
-#if API_ALSA
-
-#include "types.h"
+#if HAVE_ALSA_ASOUNDLIB_H
#include <unistd.h>
#include <poll.h>
static int alsa_slots, alsa_nslots = -1;
/** @brief Fill in poll fd array for ALSA */
-static void alsa_beforepoll(void) {
+static void alsa_beforepoll(int attribute((unused)) *timeoutp) {
/* We send sample data to ALSA as fast as it can accept it, relying on
* the fact that it has a relatively small buffer to minimize pause
* latency. */