pkgsrc/audio/wmmp3/patches/patch-mpg123ctl_c
dholland c7f8abeb60 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
239 B
Text

$NetBSD: patch-mpg123ctl_c,v 1.1 2011/09/04 21:38:03 dholland Exp $
- add needed standard headers
--- mpg123ctl.c~ 2000-04-03 00:18:43.000000000 +0000
+++ mpg123ctl.c
@@ -15,4 +15,5 @@
*/
+#include <time.h>
#include "mpg123ctl.h"