ports/dns/adsuck/files/patch-adsuck.c
Baptiste Daroussin 5c9c7a01ff adsuck is a DNS relay that returns NXdomain for hosts that match names in a
blacklist for quick and non browser plugin based ad blocking.

WWW: http://opensource.conformal.com/wiki/Adsuck

PR:		ports/156644
Submitted by:	Philippe Pepiot <phil@philpep.org>
2011-05-07 15:13:53 +00:00

13 lines
305 B
C

--- adsuck.c.orig 2011-04-14 20:36:30.000000000 +0200
+++ adsuck.c 2011-04-22 13:54:41.350251199 +0200
@@ -33 +33,2 @@
-#ifndef __linux__
+#include <signal.h>
+#include <limits.h>
@@ -35,4 +35,0 @@
-#include <sys/queue.h>
-#else
-#include <linux/limits.h>
-#include "linux/tree.h"
@@ -40 +36,0 @@
-#endif