summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-11-17 06:05:25 +0100
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-11-17 06:05:34 +0100
commitee53613ec16af1334516402a9ba99a92934fe01c (patch)
treed73f773e25ccbe027da9a2c10053db959e65a7be
parentCMake files for Heimdall CLI and mingw support (diff)
downloadHeimdall-ee53613ec16af1334516402a9ba99a92934fe01c.tar
Heimdall-ee53613ec16af1334516402a9ba99a92934fe01c.tar.gz
Heimdall-ee53613ec16af1334516402a9ba99a92934fe01c.tar.bz2
Heimdall-ee53613ec16af1334516402a9ba99a92934fe01c.tar.lz
Heimdall-ee53613ec16af1334516402a9ba99a92934fe01c.tar.xz
Heimdall-ee53613ec16af1334516402a9ba99a92934fe01c.tar.zst
Heimdall-ee53613ec16af1334516402a9ba99a92934fe01c.zip
-rw-r--r--heimdall/Makefile.am2
-rw-r--r--heimdall/source/Heimdall.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/heimdall/Makefile.am b/heimdall/Makefile.am
index e13860f..bc30c98 100644
--- a/heimdall/Makefile.am
+++ b/heimdall/Makefile.am
@@ -1,6 +1,6 @@
AUTOMAKE_OPTIONS = subdir-objects
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
-AM_CPPFLAGS = $(DEPS_CFLAGS) -std=c++0x -I../libpit/Source
+AM_CPPFLAGS = $(DEPS_CFLAGS) -std=c++0x -I../libpit/Source -DAUTOCONF
STATIC_LIBS = ../libpit/libpit-1.4.a
bin_PROGRAMS = heimdall
heimdall_SOURCES = source/Arguments.cpp \
diff --git a/heimdall/source/Heimdall.h b/heimdall/source/Heimdall.h
index c5c11ef..45d0cbd 100644
--- a/heimdall/source/Heimdall.h
+++ b/heimdall/source/Heimdall.h
@@ -38,6 +38,10 @@
#else // POSIX Standard Library
+#ifdef AUTOCONF
+#include "../config.h"
+#endif
+
#include <unistd.h>
#define Sleep(t) usleep(1000*t)