Changed location of asoundlib.h from sys dir to alsa dir.

(it means that official location is '#include <alsa/asoundlib.h>')
This commit is contained in:
Jaroslav Kysela 2001-09-11 09:34:13 +00:00
parent 3c9d27c82d
commit 0a8749a802
7 changed files with 13 additions and 63 deletions

View file

@ -1,5 +1,5 @@
sysincludedir = ${includedir}/sys
sysinclude_HEADERS = asoundlib.h
alsaincludedir = ${includedir}/alsa
alsainclude_HEADERS = asoundlib.h
# This is the order they will be concatenated into asoundlib.h!
#
@ -39,3 +39,7 @@ stamp-vh: $(top_builddir)/configure.in
-@rm -f ver.tmp
INCLUDES=-I$(top_srcdir)/include
install-exec-hook:
rm -f $(alsaincludedir)/asoundef.h
(cd $(DESTDIR)$(alsaincludedir) && $(LN_S) ../sound/asoundef.h asoundef.h)

View file

@ -28,7 +28,9 @@
#ifndef __ASOUNDLIB_H
#define __ASOUNDLIB_H
#include <sound/asoundef.h>
#ifndef __ASOUNDEF_H
#include <alsa/asoundef.h>
#endif
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -74,6 +74,7 @@ typedef struct sndrv_seq_event snd_seq_event_t;
#define _snd_timer_status sndrv_timer_status
#include <sound/asound.h>
#include <sound/asoundef.h>
#include <sound/asequencer.h>
#include "asoundlib.h"
#include "list.h"