summaryrefslogtreecommitdiffstats
path: root/adb/sysdeps_win32.c
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-11-06 14:34:24 -0800
committerChristopher Ferris <cferris@google.com>2014-11-06 14:34:24 -0800
commitae7bf0959bd3f79afbf365e41f015ed1c304afdc (patch)
tree79f2b78b10b5aafb7bddfe9db5de8b8c126ee32a /adb/sysdeps_win32.c
parentba2d22c4ad69c607fc3ad116f9477e653d5e7799 (diff)
downloadsystem_core-ae7bf0959bd3f79afbf365e41f015ed1c304afdc.zip
system_core-ae7bf0959bd3f79afbf365e41f015ed1c304afdc.tar.gz
system_core-ae7bf0959bd3f79afbf365e41f015ed1c304afdc.tar.bz2
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
Diffstat (limited to 'adb/sysdeps_win32.c')
-rw-r--r--adb/sysdeps_win32.c1
1 files changed, 1 insertions, 0 deletions
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"