am ae7bf095: Fix adb/fastboot windows compilations.

* commit 'ae7bf0959bd3f79afbf365e41f015ed1c304afdc':
  Fix adb/fastboot windows compilations.
This commit is contained in:
Christopher Ferris 2014-11-07 03:49:08 +00:00 committed by Android Git Automerger
commit 8e8ae85754
5 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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"

View File

@ -17,9 +17,12 @@
#include "usb_vendors.h"
#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

View File

@ -21,6 +21,7 @@
#include <usb100.h>
#include <adb_api.h>
#include <stdio.h>
#include <stdlib.h>
#include "sysdeps.h"

View File

@ -32,6 +32,7 @@
#include <usb100.h>
#include <adb_api.h>
#include <stdio.h>
#include <stdlib.h>
#include "usb.h"