aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2013-08-14 13:55:22 -0700
committerKoushik Dutta <koushd@gmail.com>2013-08-14 13:55:22 -0700
commit61f67d4dd3f81560417c7b8d1bd5b2611eb7a001 (patch)
tree33d118fcf0a6a4182987d3e0714f435ad06c1b05
parentc5464757ad147f42089e6728eabb3906181be5fe (diff)
downloadexternal_heimdall-61f67d4dd3f81560417c7b8d1bd5b2611eb7a001.zip
external_heimdall-61f67d4dd3f81560417c7b8d1bd5b2611eb7a001.tar.gz
external_heimdall-61f67d4dd3f81560417c7b8d1bd5b2611eb7a001.tar.bz2
fixes for building windows
Change-Id: Ib309a701d984c257d0dd80fa58bf1aa238a4431f
-rw-r--r--heimdall/source/Android.mk2
-rw-r--r--heimdall/source/Heimdall.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/heimdall/source/Android.mk b/heimdall/source/Android.mk
index d1bd0f7..0851416 100644
--- a/heimdall/source/Android.mk
+++ b/heimdall/source/Android.mk
@@ -34,3 +34,5 @@ endif
LOCAL_MODULE := heimdall
include $(BUILD_HOST_EXECUTABLE)
+
+$(call dist-for-goals,dist_files sdk,$(LOCAL_BUILT_MODULE))
diff --git a/heimdall/source/Heimdall.h b/heimdall/source/Heimdall.h
index 5a5b4c6..d0194a5 100644
--- a/heimdall/source/Heimdall.h
+++ b/heimdall/source/Heimdall.h
@@ -21,6 +21,8 @@
#ifndef HEIMDALL_H
#define HEIMDALL_H
+#include "../config.h"
+
#ifdef OS_WINDOWS
#include <Windows.h>
@@ -28,8 +30,6 @@
#else
-#include "../config.h"
-
#if defined(OS_DARWIN) || defined(OS_LINUX)
#include <unistd.h>
#define Sleep(t) usleep(1000*t)