pkgsrc/audio/wmmp3/patches/patch-song__hash_c
dholland c43bf6b1b6 Fix void main, caught by clang.
While here, fix other problems caught by gcc:
 - casting malloc instead of including <stdlib.h>
 - casting strdup instead of including <string.h>
 - failing to include <time.h> with bad consequences for -current.

PKGREVISION -> 3.
2011-09-04 21:38:03 +00:00

12 lines
282 B
Text

$NetBSD: patch-song__hash_c,v 1.1 2011/09/04 21:38:03 dholland Exp $
- add needed standard headers
--- song_hash.c~ 2000-04-03 00:17:22.000000000 +0000
+++ song_hash.c
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+#include <string.h>
#include "song_hash.h"
#define HASH_TABLE_SIZE 11