summaryrefslogtreecommitdiff
path: root/media-sound/dcd/files/dcd-0.95-Wimplicit-function-declaration.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/dcd/files/dcd-0.95-Wimplicit-function-declaration.patch')
-rw-r--r--media-sound/dcd/files/dcd-0.95-Wimplicit-function-declaration.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/media-sound/dcd/files/dcd-0.95-Wimplicit-function-declaration.patch b/media-sound/dcd/files/dcd-0.95-Wimplicit-function-declaration.patch
new file mode 100644
index 000000000000..d3160424fc20
--- /dev/null
+++ b/media-sound/dcd/files/dcd-0.95-Wimplicit-function-declaration.patch
@@ -0,0 +1,20 @@
+--- a/dcd.c
++++ b/dcd.c
+@@ -23,6 +23,7 @@
+ #include <stdlib.h>
+ #include <ctype.h>
+ #include <getopt.h>
++#include <time.h>
+
+ #define ZERO 0
+ #define MAX_TRACKS 103
+--- a/screenop.c
++++ b/screenop.c
+@@ -10,6 +10,7 @@
+ #include "cdindex.h"
+ #include <unistd.h>
+ #include <stdio.h>
++#include <string.h>
+
+ void disk_directory(void) {
+ u_char ct = cd_current_track();