File: Include-string.h-in-mPresentation.c-to-declare-strcpy.patch

package info (click to toggle)
montage 6.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 45,580 kB
  • sloc: ansic: 144,907; javascript: 4,636; python: 1,625; makefile: 1,447; sh: 230; xml: 48
file content (21 lines) | stat: -rw-r--r-- 579 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Ole Streicher <olebole@debian.org>
Date: Tue, 19 Mar 2024 11:28:54 +0100
Subject: Include string.h in mPresentation.c to declare strcpy()

Closes: #1066317
---
 grid/Pegasus/mPresentation.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/grid/Pegasus/mPresentation.c b/grid/Pegasus/mPresentation.c
index 72da6be..e059e65 100644
--- a/grid/Pegasus/mPresentation.c
+++ b/grid/Pegasus/mPresentation.c
@@ -14,6 +14,7 @@ Version  Developer        Date     Change
 #include <stdlib.h>
 #include <unistd.h>
 #include <strings.h>
+#include <string.h>
 
 #define MAXLEN 20000