Index: src/Makefile.in
--- src/Makefile.in.orig	2001-11-13 18:45:14 +0100
+++ src/Makefile.in	2008-03-18 22:06:58 +0100
@@ -71,7 +71,7 @@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
 VERSION = @VERSION@
-CFLAGS =  -g -Wall -Wstrict-prototypes -I . -DDEBUG_SUPPORT -DDEBUG_DEFAULT  $(UCFLAGS)
+CFLAGS =  -I . -DDEBUG_SUPPORT -DDEBUG_DEFAULT  $(UCFLAGS)
 
 pkgdir = $(libdir)
 pkg_LTLIBRARIES = libiax.la
@@ -304,12 +304,11 @@
 
 
 install:
-	mkdir -p $(includedir)/iax
-	install -m 644 md5.h $(includedir)/iax
-	install -m 644 frame.h $(includedir)/iax
-	install -m 644 iax.h $(includedir)/iax
-	install -m 644 iax-client.h $(includedir)/iax
-	/sbin/ldconfig
+	mkdir -p $(DESTDIR)$(includedir)/iax
+	install -m 644 md5.h $(DESTDIR)$(includedir)/iax
+	install -m 644 frame.h $(DESTDIR)$(includedir)/iax
+	install -m 644 iax.h $(DESTDIR)$(includedir)/iax
+	install -m 644 iax-client.h $(DESTDIR)$(includedir)/iax
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
Index: src/iax.c
--- src/iax.c.orig	2001-11-07 00:10:41 +0100
+++ src/iax.c	2008-03-18 22:06:58 +0100
@@ -33,13 +33,11 @@
 #include <sys/time.h>
 #include <stdlib.h>
 #include <string.h>
-#include <malloc.h>
 #include <stdarg.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <errno.h>
-#include <error.h>
 #include <sys/select.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
