commit | ae7bf0959bd3f79afbf365e41f015ed1c304afdc | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Thu Nov 06 14:34:24 2014 -0800 |
committer | Christopher Ferris <cferris@google.com> | Thu Nov 06 14:34:24 2014 -0800 |
tree | 79f2b78b10b5aafb7bddfe9db5de8b8c126ee32a | |
parent | ba2d22c4ad69c607fc3ad116f9477e653d5e7799 [diff] [blame] |
Fix adb/fastboot windows compilations. Many of the windows files where not including stdlib.h even though they are using malloc/free calls. Change-Id: If6959df9909d9d9928e9f4a2a96018166361cf3c
diff --git a/adb/sysdeps_win32.c b/adb/sysdeps_win32.c index b082c6d..e69ec2b 100644 --- a/adb/sysdeps_win32.c +++ b/adb/sysdeps_win32.c
@@ -2,6 +2,7 @@ #include <winsock2.h> #include <windows.h> #include <stdio.h> +#include <stdlib.h> #include <errno.h> #define TRACE_TAG TRACE_SYSDEPS #include "adb.h"