mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-11-24 07:00:00 -05:00
ld10k1: define _GNU_SOURCE and use sighandler_t
__sighandler_t is a glibc internal type which doesn't exist in musl. By using AC_USE_SYSTEM_EXTENSIONS to get _GNU_SOURCE defined, both glibc and musl then expose sighandler_t. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
a861bdabf0
commit
235d9c5e83
2 changed files with 2 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ int main_loop(comm_param *param, int audigy, const char *card_id, int tram_size,
|
|||
{
|
||||
fd_set active_fd_set/*, read_fd_set*/;
|
||||
int i, j, res = 0;
|
||||
__sighandler_t old_sig_pipe;
|
||||
sighandler_t old_sig_pipe;
|
||||
|
||||
int main_sock = 0;
|
||||
int data_sock = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue