Skip to content

Commit

Permalink
build: pthread_atfork() needs include of pthread.h
Browse files Browse the repository at this point in the history
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
  • Loading branch information
Anthony Liguori committed Nov 4, 2012
1 parent ed224a5 commit 30ea833
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qemu-timer.c
Expand Up @@ -30,6 +30,9 @@
#include "hw/hw.h"

#include "qemu-timer.h"
#ifdef CONFIG_POSIX
#include <pthread.h>
#endif

#ifdef _WIN32
#include <mmsystem.h>
Expand Down

0 comments on commit 30ea833

Please sign in to comment.