summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/notification_proxy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/notification_proxy.c b/src/notification_proxy.c
index 086dec4..6e09840 100644
--- a/src/notification_proxy.c
+++ b/src/notification_proxy.c
@@ -28,6 +28,10 @@
#include "property_list_service.h"
#include "debug.h"
+#ifdef WIN32
+#define sleep(x) Sleep(x*1000)
+#endif
+
struct np_thread {
np_client_t client;
np_notify_cb_t cbfunc;