aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2019-08-28 11:34:48 -0700
committerPaul Eggert2019-08-28 11:35:19 -0700
commitfdccab473e1f95dae5ee0f07a4531dd4e05b22dd (patch)
tree555e96a91fb725dd870f921a8d60cc9cb33251af /src
parente028131e05a12f13015b6b0cd8a41092850e43b8 (diff)
downloademacs-fdccab473e1f95dae5ee0f07a4531dd4e05b22dd.tar.gz
emacs-fdccab473e1f95dae5ee0f07a4531dd4e05b22dd.zip
Don't worry about pre-1.0.0 alsa-lib include
Problem reported by Ergus in: https://lists.gnu.org/r/emacs-devel/2019-08/msg00563.html * configure.ac (ALSA_SUBDIR_INCLUDE): Do not define. * src/sound.c: Assume ALSA_SUBDIR_INCLUDE.
Diffstat (limited to 'src')
-rw-r--r--src/sound.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/sound.c b/src/sound.c
index 4ba826e82c4..44d4cbc6d56 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -72,12 +72,8 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
72#include <soundcard.h> 72#include <soundcard.h>
73#endif 73#endif
74#ifdef HAVE_ALSA 74#ifdef HAVE_ALSA
75#ifdef ALSA_SUBDIR_INCLUDE
76#include <alsa/asoundlib.h> 75#include <alsa/asoundlib.h>
77#else 76#endif
78#include <asoundlib.h>
79#endif /* ALSA_SUBDIR_INCLUDE */
80#endif /* HAVE_ALSA */
81 77
82/* END: Non Windows Includes */ 78/* END: Non Windows Includes */
83 79