that might be an alsa-lib bug instead ...
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/alsaMixer/src && /usr/bin/cc -DCAIRO_DOCK_FORCE_ICON_IN_MENUS=1 -DGL_GLEXT_PROTOTYPES=\"1\" -DINDICATOR_SOUNDMENU_WITH_IND3=1 -DIS_INDICATOR_NG=1 -DMY_APPLET_CONF_FILE=\"AlsaMixer.conf\" -DMY_APPLET_DOCK_VERSION=\"3.4.1\" -DMY_APPLET_GETTEXT_DOMAIN=\"cairo-dock-plugins\" -DMY_APPLET_ICON_FILE=\"icon.png\" -DMY_APPLET_PREVIEW_FILE=\"preview.jpg\" -DMY_APPLET_SHARE_DATA_DIR=\"/usr/share/cairo-dock/plug-ins/AlsaMixer\" -DMY_APPLET_USER_DATA_DIR=\"AlsaMixer\" -DMY_APPLET_VERSION=\"2.1.5\" -Dcd_AlsaMixer_EXPORTS -I/usr/include/cairo-dock -I/usr/include/cairo-dock/gldit -I/usr/include/cairo-dock/implementations -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/mirclient -I/usr/include/mircore -I/usr/include/mircookie -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libdrm -I/usr/include/x86_64-linux-gnu -I/usr/include/alsa -I/usr/include/libindicator3-0.4 -I/<<PKGBUILDDIR>>/Indicator-applet3 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=c99 -Wall -Werror-implicit-function-declaration -o CMakeFiles/cd-AlsaMixer.dir/applet-init.c.o -c /<<PKGBUILDDIR>>/alsaMixer/src/applet-init.c
In file included from /usr/include/sched.h:32:0,
from /usr/include/pthread.h:23,
from /usr/include/glib-2.0/glib/deprecated/gthread.h:128,
from /usr/include/glib-2.0/glib.h:108,
from /usr/include/cairo-dock/gldit/cairo-dock-struct.h:23,
from /usr/include/cairo-dock/cairo-dock.h:29,
from /<<PKGBUILDDIR>>/alsaMixer/src/applet-struct.h:26,
from /<<PKGBUILDDIR>>/alsaMixer/src/applet-init.c:20:
/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h:8:8: error: redefinition of ‘struct timespec’
struct timespec
^~~~~~~~
In file included from /usr/include/alsa/asoundlib.h:49:0,
from /<<PKGBUILDDIR>>/alsaMixer/src/applet-struct.h:24,
from /<<PKGBUILDDIR>>/alsaMixer/src/applet-init.c:20:
/usr/include/alsa/global.h:143:8: note: originally defined here
struct timespec {
^~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/time.h:25:0,
from /usr/include/cairo-dock/gldit/cairo-dock-image-buffer.h:25,
from /usr/include/cairo-dock/gldit/cairo-dock-icon-factory.h:26,
from /usr/include/cairo-dock/gldit/cairo-dock-file-manager.h:23,
from /usr/include/cairo-dock/gldit/cairo-dock-global-variables.h:24,
from /usr/include/cairo-dock/cairo-dock.h:31,
from /<<PKGBUILDDIR>>/alsaMixer/src/applet-struct.h:26,
from /<<PKGBUILDDIR>>/alsaMixer/src/applet-init.c:20:
/usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h:8:8: error: redefinition of ‘struct timeval’
struct timeval
^~~~~~~
In file included from /usr/include/alsa/asoundlib.h:49:0,
from /<<PKGBUILDDIR>>/alsaMixer/src/applet-struct.h:24,
from /<<PKGBUILDDIR>>/alsaMixer/src/applet-init.c:20:
/usr/include/alsa/global.h:138:8: note: originally defined here
struct timeval {
^~~~~~~
Looks like the "#ifdef __GLIBC__" from this commit could probably be replaced with an "#if 0":
http:// git.alsa- project. org/?p= alsa-lib. git;a=commitdif f;h=7d06b3ed9fd a0220c2863ee20a cd10c32cf313fd; hp=2d6eb4e9ba15 03e094d8cdc30a5 a081fd22c1c84