]> git.alsa-project.org Git - alsa-oss.git/commitdiff
fix FTBFS with glibc v3.28
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 12 Dec 2018 22:11:59 +0000 (07:11 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 Dec 2018 18:46:33 +0000 (19:46 +0100)
In glibc upstream, libio/libio.h had been deprecated for applications and
became internal header in its v2.28 release. We can see below message in
its release note[1].

* The nonstandard header files <libio.h> and <_G_config.h> are no longer
  installed.  Software that was using either header should be updated to
  use standard <stdio.h> interfaces instead.

This brings FTBFS with glibc v2.28 due to missing <libio.h>. This commit
fixes it.

[1] https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html

Reported-by: Adrian Bunk <bunk@debian.org>
Reference: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916052
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
alsa/stdioemu.c

index 670892bf60dc4f218fc0a39ae4eb108833e44e44..f7f9ab561262af13decab509422649cb654cf1ef 100644 (file)
@@ -37,7 +37,6 @@
 #endif
 
 #include <stdio.h>
-#include <libio.h>
 
 struct fd_cookie {
        int fd;