Description: look for and use tidy.h in /usr/include/tidy (from libtidy-dev)
Author: Florian Schlichting <fsfs@debian.org>
Forwarded: not-needed
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -10,7 +10,7 @@
 use Config;
 
 my $libs = '-ltidyp';
-my $inc = "-I. -I/usr/include/tidyp -I/usr/local/include/tidyp -I$Config{usrinc}/tidyp";
+my $inc = "-I. -I/usr/include/tidy -I/usr/local/include/tidy -I$Config{usrinc}/tidy";
 
 eval { require Alien::Tidyp; };
 
@@ -20,8 +20,8 @@
     $inc = Alien::Tidyp->config('INC');
 }
 else {
-    print "Alien::Tidyp not found. Looking for for tidyp on your system.\n";
-    my @vars = ExtUtils::Liblist->ext( '-L/usr/lib -L/usr/local/lib -ltidyp', 0, 1 );
+    print "Alien::Tidyp not found. Looking for for tidy on your system.\n";
+    my @vars = ExtUtils::Liblist->ext( '-L/usr/lib -L/usr/local/lib -ltidy', 0, 1 );
     $libs = $vars[2];
 
     if ( !$libs ) {
--- a/Tidy.xs
+++ b/Tidy.xs
@@ -2,7 +2,7 @@
 #include "perl.h"
 #include "XSUB.h"
 
-#include <tidyp.h>
+#include <tidy.h>
 #include <buffio.h>
 #include <stdio.h>
 #include <errno.h>
