File: missing-prototypes.patch

package info (click to toggle)
eurephia 1.1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,676 kB
  • sloc: ansic: 12,930; sh: 291; sql: 155; makefile: 16
file content (33 lines) | stat: -rw-r--r-- 644 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
Author: Andreas Beckmann <anbe@debian.org>
Description: fix building with -Werror=implicit-function-declaration

--- a/common/eurephia_xml.c
+++ b/common/eurephia_xml.c
@@ -31,6 +31,7 @@
 
 #ifdef HAVE_LIBXML2
 #include <stdarg.h>
+#include <stdlib.h>
 #include <string.h>
 #include <assert.h>
 
--- a/database/eurephiadb_mapping.c
+++ b/database/eurephiadb_mapping.c
@@ -32,6 +32,7 @@
  *
  */
 
+#include <stdlib.h>
 #include <string.h>
 #include <assert.h>
 
--- a/common/eurephia_nullsafe.h
+++ b/common/eurephia_nullsafe.h
@@ -32,6 +32,7 @@
  *
  */
 
+#include <stdlib.h>
 #include <eurephia_context.h>
 
 #ifndef   	EUREPHIA_NULLSAFE_H_