From f1b1da7a06be36f24044ca546aa95a4278030ac7 Mon Sep 17 00:00:00 2001
From: Tobias Klauser <tklauser@access.unizh.ch>
Date: Sat, 12 Jan 2008 22:30:02 +0100
Subject: Add -ioption to local include paths so they do not cover the system
 headers with the same name. This fixes errors/warnings about implicitly
 converted pointers.

Bug-Debian: http://bugs.debian.org/393547, http://bugs.debian.orG/460342
---
 Makefile.in |    2 +-
 source/sl.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index d0f8923..0b8c327 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -280,7 +280,7 @@ WSERV_SOURCES = wserv.c wterm.c
 IRCFLUSH_SOURCES = ircflush.c
 IRCFLUSH_OBJECTS = ircflush.o ircsig.o
 
-INCLUDES = -I. -I$(incdir) -I$(srcdir)/rijndael
+INCLUDES = -iquote . -iquote $(incdir) -iquote $(srcdir)/rijndael
 
 .c.o:
 	$(CC) $(INCLUDES) $(CFLAGS) $(DEFS) -c $<
diff --git a/source/sl.c b/source/sl.c
index 2bd6d3c..df3c1ca 100644
--- a/source/sl.c
+++ b/source/sl.c
@@ -41,7 +41,7 @@
 #include "irc.h"
 IRCII_RCSID("@(#)$eterna: sl.c,v 1.1 2002/10/04 04:50:26 mrg Exp $");
 
-#include <sl.h>
+#include "sl.h"
 
 #define _SL_CHUNKSIZE	20
 
