File: 0006-libcdaudio.m4-Fix-C-program-missing-string.h-header.patch

package info (click to toggle)
libcdaudio 0.99.12p2-16
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,976 kB
  • sloc: sh: 8,421; ansic: 4,849; makefile: 45
file content (21 lines) | stat: -rw-r--r-- 505 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Boyuan Yang <byang@debian.org>
Date: Tue, 26 Nov 2024 14:00:20 -0500
Subject: libcdaudio.m4: Fix C program missing string.h header

This indirectly fixes https://bugs.debian.org/1074870 .
---
 libcdaudio.m4 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libcdaudio.m4 b/libcdaudio.m4
index e02baa9..292f96c 100644
--- a/libcdaudio.m4
+++ b/libcdaudio.m4
@@ -68,6 +68,7 @@ dnl
 #include <cdaudio.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 char* my_strdup (char *str)
 {