commit 88266c5cbbeb3ed9e284913d004bfdf78581a8b3 Author: Jacob Appelbaum jacob@appelbaum.net Date: Thu Apr 18 20:45:22 2013 -0700
Finish port of tlsdate to DragonFly BSD; tested on 3.3-DEVELOPMENT --- src/conf.c | 4 ++++ src/include.am | 2 ++ 2 files changed, 6 insertions(+)
diff --git a/src/conf.c b/src/conf.c index b093676..607f523 100644 --- a/src/conf.c +++ b/src/conf.c @@ -19,6 +19,10 @@ #include "src/common/android.h" // XXX: Dirty hack - make this more generic later #endif
+#ifdef TARGET_OS_DRAGONFLYBSD +#include "src/common/android.h" // XXX: Dirty hack - make this more generic later +#endif + #ifdef HAVE_ANDROID #include "src/common/android.h" #endif diff --git a/src/include.am b/src/include.am index d00f669..58e0df0 100644 --- a/src/include.am +++ b/src/include.am @@ -76,6 +76,7 @@ bin_PROGRAMS+= src/tlsdate-helper
src_conf_unittest_SOURCES = src/conf.c src_conf_unittest_SOURCES+= src/conf-unittest.c +src_conf_unittest_SOURCES+= src/common/android.c check_PROGRAMS+= src/conf_unittest noinst_PROGRAMS+= src/conf_unittest endif @@ -220,6 +221,7 @@ src_proxy_bio_unittest_SOURCES = src/proxy-bio.c src_proxy_bio_unittest_SOURCES+= src/proxy-bio-unittest.c src_proxy_bio_unittest_SOURCES+= src/test-bio.c src_proxy_bio_unittest_SOURCES+= src/util.c +src_proxy_bio_unittest_SOURCES+= src/common/android.c check_PROGRAMS+= src/proxy-bio_unittest noinst_PROGRAMS+= src/proxy-bio_unittest endif