Commit 55f11ca3c21827fe046b54a09d9ad5a897bbb7ad
1 parent
0da2ea1b
Rename sigev_signo to avoid FreeBSD problems (Juergen Lock)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6414 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
3 changed files
with
3 additions
and
3 deletions
block-raw-posix.c
... | ... | @@ -579,7 +579,7 @@ static RawAIOCB *raw_aio_setup(BlockDriverState *bs, |
579 | 579 | if (!acb) |
580 | 580 | return NULL; |
581 | 581 | acb->aiocb.aio_fildes = s->fd; |
582 | - acb->aiocb.sigev_signo = SIGUSR2; | |
582 | + acb->aiocb.ev_signo = SIGUSR2; | |
583 | 583 | acb->aiocb.aio_buf = buf; |
584 | 584 | if (nb_sectors < 0) |
585 | 585 | acb->aiocb.aio_nbytes = -nb_sectors; | ... | ... |
posix-aio-compat.c