mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
'make check' fails on a Slackware 8.1 system with gcc-2.95.3 due to three
minor problems (one missing #define/#include statement, two misplaced variable delarations) in test/code.c and test/queue_timer.c.
This commit is contained in:
parent
8bda6292d8
commit
7a5a9f018c
2 changed files with 8 additions and 4 deletions
|
|
@ -74,6 +74,7 @@ main(int argc, char **argv)
|
|||
snd_seq_queue_status_t *status;
|
||||
const snd_seq_real_time_t *rtime;
|
||||
struct timeval tv, diff, diffdiff;
|
||||
struct timespec ts;
|
||||
|
||||
snd_seq_queue_status_alloca(&status);
|
||||
|
||||
|
|
@ -115,7 +116,6 @@ main(int argc, char **argv)
|
|||
|
||||
fprintf(stderr, "\n");
|
||||
// sleep(1);
|
||||
struct timespec ts;
|
||||
ts.tv_sec = 0;
|
||||
ts.tv_nsec = 500000000;
|
||||
nanosleep(&ts, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue