commit 5cab359556eb6cbf0a38db6dd615e7789874194d
parent 5fe37b899b0f62e7a6281f34b7921be007e289e2
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Mon, 7 Apr 2014 21:50:20 +0000
Fixed MHD base tests with non-default path to GnuTLS includes, removed duplicated include
Diffstat:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/microhttpd/Makefile.am b/src/microhttpd/Makefile.am
@@ -151,17 +151,23 @@ test_daemon_LDADD = \
test_postprocessor_SOURCES = \
test_postprocessor.c
+test_postprocessor_CPPFLAGS = \
+ $(AM_CPPFLAGS) $(GNUTLS_CPPFLAGS)
test_postprocessor_LDADD = \
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
$(MHD_W32_LIB)
test_postprocessor_amp_SOURCES = \
test_postprocessor_amp.c
+test_postprocessor_amp_CPPFLAGS = \
+ $(AM_CPPFLAGS) $(GNUTLS_CPPFLAGS)
test_postprocessor_amp_LDADD = \
$(top_builddir)/src/microhttpd/libmicrohttpd.la
test_postprocessor_large_SOURCES = \
test_postprocessor_large.c
+test_postprocessor_large_CPPFLAGS = \
+ $(AM_CPPFLAGS) $(GNUTLS_CPPFLAGS)
test_postprocessor_large_LDADD = \
$(top_builddir)/src/microhttpd/libmicrohttpd.la \
$(MHD_W32_LIB)
diff --git a/src/microhttpd/test_daemon.c b/src/microhttpd/test_daemon.c
@@ -25,7 +25,6 @@
*/
#include "platform.h"
-#include "platform.h"
#include "microhttpd.h"
#include <stdlib.h>
#include <string.h>