OSDN Git Service

alsa-utils check if __USE_BSD is defined before compiling "BSD functions"
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Mon, 8 Dec 2008 10:55:27 +0000 (11:55 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 8 Dec 2008 10:55:27 +0000 (11:55 +0100)
commite3dfc7470e47f35127c07004beda94cb13f325ec
tree2bc87f42a4215d30941653fdacaa949aab39dae6
parent045ccf2081647f48e300bcb5e51d8def75c6e2b4
alsa-utils check if __USE_BSD is defined before compiling "BSD functions"

Another bug/issue I tripped over when compiling alsa-utils in an
environment using uClibc to supply the C library functions. Here I have
enabled some old BSD style functions. The attached patch will honor
them if they are enabled.

Without this patch I get a redefined error during compile.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
alsactl/init_sysdeps.c