From: Dima Kogan <dima@secretsauce.net>
Date: Wed, 4 Dec 2013 19:37:48 -0800
Subject: using the debian package of libhttp-parser instead of this one
Forwarded: not needed

---
 src/Makefile.am   | 10 ++--------
 src/scan_http.cpp |  2 +-
 2 files changed, 3 insertions(+), 9 deletions(-)

Index: tcpflow/src/Makefile.am
===================================================================
--- tcpflow.orig/src/Makefile.am
+++ tcpflow/src/Makefile.am
@@ -90,20 +90,14 @@ tcpflow_SOURCES = \
 	scan_netviz.cpp \
 	pcap_writer.h \
 	iptree.h \
-	http-parser/http_parser.c \
-	http-parser/http_parser.h \
 	mime_map.cpp \
 	mime_map.h 
 
+tcpflow_LDADD = -lhttp_parser
+
 EXTRA_DIST =\
 	inet_ntop.c \
 	inet_ntop.h \
-	http-parser/AUTHORS \
-	http-parser/CONTRIBUTIONS \
-	http-parser/LICENSE-MIT \
-	http-parser/Makefile \
-	http-parser/README.md \
-	http-parser/http_parser.gyp \
 	wifipcap/README.txt \
 	wifipcap/TimeVal.cpp \
 	wifipcap/TimeVal.h \
Index: tcpflow/src/scan_http.cpp
===================================================================
--- tcpflow.orig/src/scan_http.cpp
+++ tcpflow/src/scan_http.cpp
@@ -11,7 +11,7 @@
 #include "tcpip.h"
 #include "tcpdemux.h"
 
-#include "http-parser/http_parser.h"
+#include <http_parser.h>
 
 #include "mime_map.h"
 
