summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)