winsock2 is required here.

This commit is contained in:
Vítor Santos Costa 2010-05-06 15:26:42 +01:00
parent a270991e44
commit fabc10ca75

View File

@ -62,6 +62,9 @@ handling times must be cleaned, but that not only holds for this module.
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>
#endif
#define LOCK() PL_LOCK(L_FILE) /* MT locking */
#define UNLOCK() PL_UNLOCK(L_FILE)