diff --git a/src/util/threads-win32.h b/src/util/threads-win32.h index 8109afd271595845423a66d19c1ea247b43d7072..1b23402a5fabfdb5b731a9ca461d61775387f596 100644 --- a/src/util/threads-win32.h +++ b/src/util/threads-win32.h @@ -1,7 +1,7 @@ /* * threads-win32.h basic thread synchronization primitives * - * Copyright (C) 2009, 2011 Red Hat, Inc. + * Copyright (C) 2009, 2011-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -21,6 +21,9 @@ #include "internal.h" +#ifdef HAVE_WINSOCK2_H +# include +#endif #include struct virMutex {