summaryrefslogtreecommitdiffstats
path: root/src/pulsecore
diff options
context:
space:
mode:
authorMaarten Bosmans <mkbosmans@gmail.com>2011-06-07 23:46:08 +0200
committerArun Raghavan <arun.raghavan@collabora.co.uk>2011-06-12 11:14:59 -0700
commitfc0eebf2c4701c9747cb678ee7592d58a9943d1d (patch)
treeb66dfd8088df711f973b46b61dc3dd877f9a1fdc /src/pulsecore
parent6fd2ef48ddd2836fa6ab2c553ac36ff34306e5a9 (diff)
win32: define WIN32_LEAN_AND_MEAN
This makes windows.h include less headers. Otherwise boolean is typedef'ed and that clashes with libjson.
Diffstat (limited to 'src/pulsecore')
-rw-r--r--src/pulsecore/dllmain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pulsecore/dllmain.c b/src/pulsecore/dllmain.c
index c826bc08..cb88c928 100644
--- a/src/pulsecore/dllmain.c
+++ b/src/pulsecore/dllmain.c
@@ -30,6 +30,7 @@
#include <string.h>
#include <windows.h>
+#include <winsock2.h>
extern pa_win32_get_toplevel(HANDLE handle);