include prototypes for malloc and strdup - fix 64-bit warnings

This commit is contained in:
wilfried 2008-07-01 08:25:57 +00:00
parent 7f607d8313
commit 59a03c43e4
2 changed files with 12 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.14 2007/09/15 21:26:03 simon Exp $
# $OpenBSD: Makefile,v 1.15 2008/07/01 08:25:57 wilfried Exp $
COMMENT= wm-dockapp; front end for an mp3 player
DISTNAME= wmmp3-0.12
PKGNAME= ${DISTNAME}p0
CATEGORIES= audio x11 x11/windowmaker
HOMEPAGE= http://www.dotfiles.com/software/wmmp3/

View File

@ -0,0 +1,10 @@
$OpenBSD: patch-song_hash_c,v 1.1 2008/07/01 08:25:57 wilfried Exp $
--- song_hash.c.orig Mon Apr 3 02:17:22 2000
+++ song_hash.c Mon Jun 30 13:33:00 2008
@@ -1,4 +1,6 @@
#include "song_hash.h"
+#include <stdlib.h>
+#include <string.h>
#define HASH_TABLE_SIZE 11