summaryrefslogtreecommitdiffstats
path: root/adb/adb_auth_host.c
diff options
context:
space:
mode:
Diffstat (limited to 'adb/adb_auth_host.c')
-rw-r--r--adb/adb_auth_host.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/adb/adb_auth_host.c b/adb/adb_auth_host.c
index 4c33d14..a859199 100644
--- a/adb/adb_auth_host.c
+++ b/adb/adb_auth_host.c
@@ -15,9 +15,12 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#ifdef _WIN32
-# define WIN32_LEAN_AND_MEAN
+# ifndef WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN
+# endif
# include "windows.h"
# include "shlobj.h"
#else