#endif
// we need stdio.h to override glibc's dprintf function
// since new glibc has this function with different interface
#include <features.h>
#ifdef __USE_XOPEN2K8
# include <stdio.h>
#if (DEBUG)
/* the thing to use here is a variadic macro, but Apple's gcc barfs on
** them when running in precomp mode. did they _really_ have to break
#include <alsa/asoundlib.h>
# define dprintf(...) printf(__VA_ARGS__)
#else
# define dprintf(...)
static snd_seq_t *seq = 0;
static int queue = 0;
static int in_port = -1;