  
  if BUILD_NT_SERVICES
  tor_platform_source=src/or/ntmain.c
-@@ -106,51 +98,16 @@
+@@ -97,50 +89,16 @@
  	$(tor_platform_source)
  
  src_or_libtor_a_SOURCES = $(LIBTOR_A_SOURCES)

--- src/or/include.am.orig	2017-09-25 18:07:25.586777155 +0200
+++ src/or/include.am	2017-09-25 18:12:20.888149292 +0200
@@ -1,13 +1,5 @@
-bin_PROGRAMS+= src/or/tor
 noinst_LIBRARIES += \

-  src/or/src_or_tor_cov-tor_main.$(OBJEXT): micro-revision.i
 
-AM_CPPFLAGS += -DSHARE_DATADIR="\"$(datadir)\""		\
+AM_CPPFLAGS += -I$(srcdir)/src/or -Isrc/or \
+		-DSHARE_DATADIR="\"$(datadir)\"" \
 		-DLOCALSTATEDIR="\"$(localstatedir)\""	\
 		-DBINDIR="\"$(bindir)\""
 
