Package: libpaper
Version: 1.1.23+nmu2
Tags: patch

The malloc.h header is obsolete.  malloc(3) is provided by stdlib.h, so fix
headers inclusions accordingly.  I'm unaware of any platform that *requires*
the inclusion of malloc.h these days.

Index: libpaper-1.1.23+nmu2/lib/paper.c
===================================================================
--- libpaper-1.1.23+nmu2.orig/lib/paper.c       2002-11-11 00:56:08.000000000 
+0000
+++ libpaper-1.1.23+nmu2/lib/paper.c    2010-04-23 11:15:45.843639096 +0100
@@ -14,14 +14,12 @@
 #include <sys/stat.h>
 
 #include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
 
 #include <unistd.h>
 
-#include <stdlib.h>
-
 #include "paper.h"
 
 struct paper {



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to