File: missing-prototypes.patch

package info (click to toggle)
libast 0.7-12
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,984 kB
  • sloc: ansic: 13,137; sh: 10,332; makefile: 73
file content (13 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
Author: Andreas Beckmann <anbe@debian.org>
Description: fix building with -Werror=implicit-function-declaration

--- a/libast.m4
+++ b/libast.m4
@@ -441,6 +441,7 @@ AC_DEFUN([dps_snprintf_oflow], [
         AC_TRY_RUN(
             changequote(<<, >>)dnl
 <<#include <stdio.h>
+#include <stdlib.h>
 
 #ifndef HAVE_SNPRINTF
 #include "src/snprintf.c"