diff --git a/libburn/trunk/test/poll.c b/libburn/trunk/test/poll.c index 4026a849..660f384f 100644 --- a/libburn/trunk/test/poll.c +++ b/libburn/trunk/test/poll.c @@ -7,6 +7,7 @@ #include #include #include +#include #include static struct burn_drive_info *drives; @@ -62,6 +63,7 @@ int main() return 1; } + memset(&newact, 0, sizeof(newact)); newact.sa_handler = catch_int; sigaction(SIGINT, &newact, &oldact); for (i = 0; i < (int) n_drives; i++) {