mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-16 08:56:42 -05:00
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:
parent
3c9d27c82d
commit
0a8749a802
7 changed files with 13 additions and 63 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue