File: missing-prototypes.patch

package info (click to toggle)
libexplain 1.4.D001-17
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 42,248 kB
  • sloc: ansic: 156,043; makefile: 47,892; sh: 16,304; yacc: 1,898; awk: 245
file content (53 lines) | stat: -rw-r--r-- 1,526 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Author: Andreas Beckmann <anbe@debian.org>
Description: fix building with -Werror=implicit-function-declaration

--- a/etc/configure.ac
+++ b/etc/configure.ac
@@ -855,6 +855,7 @@ dnl!  We need to know whether statfs tak
 dnl!
 AC_MSG_CHECKING([number of arguments to statfs])
 AC_TRY_COMPILE([
+#include <sys/vfs.h>
 #ifdef HAVE_SYS_MNTENT_H
 #include <sys/statfs.h>
 #endif
@@ -1379,6 +1380,7 @@ dnl! possible, and then some.
 dnl!
 AC_MSG_CHECKING([whether <sys/ptrace.h> defines struct user_regs_struct])
 AC_TRY_RUN([
+#include <stdio.h>
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
@@ -1402,6 +1404,7 @@ AC_MSG_RESULT(cross))
 
 AC_MSG_CHECKING([whether <sys/ptrace.h> defines struct user_fpregs_struct])
 AC_TRY_RUN([
+#include <stdio.h>
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
@@ -1425,6 +1428,7 @@ AC_MSG_RESULT(cross))
 
 AC_MSG_CHECKING([whether <sys/ptrace.h> defines struct user_fpxregs_struct])
 AC_TRY_RUN([
+#include <stdio.h>
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
@@ -1448,6 +1452,7 @@ AC_MSG_RESULT(cross))
 
 AC_MSG_CHECKING([whether <sys/shm.h> defines struct ipc_perm::__key])
 AC_TRY_RUN([
+#include <stdio.h>
 #include <sys/shm.h>
 int main(argc, argv)int argc; char **argv;{
 struct ipc_perm x;
@@ -1463,6 +1468,7 @@ AC_MSG_RESULT(cross))
 
 AC_MSG_CHECKING([whether <linux/videodev2.h> defines struct v4l2_buffer::input])
 AC_TRY_RUN([
+#include <stdio.h>
 #include <linux/videodev2.h>
 int main(argc, argv)int argc; char **argv;{
 struct v4l2_buffer x;