File: 0010_missing_include.diff

package info (click to toggle)
libxslt 1.1.35-1.2%2Bdeb13u1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 30,068 kB
  • sloc: xml: 75,625; ansic: 34,782; sh: 4,249; makefile: 3,128; python: 3,060; javascript: 429; perl: 34
file content (34 lines) | stat: -rw-r--r-- 797 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
22
23
24
25
26
27
28
29
30
31
32
33
34
Description: Add missing #include <stdlib.h> to fix FTFBS.
Author: Andreas Metzler <ametzler@debian.org>
Bug-Debian: https://bugs.debian.org/1073312
Applied-Upstream: 1.39, https://gitlab.gnome.org/GNOME/libxslt/-/commit/b7f824f613a0da3e6cefc5dc558ff597eb6545b4
Last-Update: 2024-07-09

--- a/libxslt/extensions.c
+++ b/libxslt/extensions.c
@@ -10,10 +10,11 @@
  */
 
 #define IN_LIBXSLT
 #include "libxslt.h"
 
+#include <stdlib.h>
 #include <string.h>
 #include <limits.h>
 
 #include <libxml/xmlmemory.h>
 #include <libxml/tree.h>
--- a/libexslt/date.c
+++ b/libexslt/date.c
@@ -36,10 +36,11 @@
 #include <libxslt/xsltInternals.h>
 #include <libxslt/extensions.h>
 
 #include "exslt.h"
 
+#include <stdlib.h>
 #include <string.h>
 #include <limits.h>
 
 #ifdef HAVE_ERRNO_H
 #include <errno.h>