File: implicit-declaration.patch

package info (click to toggle)
gcal 4.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 17,952 kB
  • sloc: ansic: 98,660; sh: 8,454; perl: 2,088; awk: 1,531; makefile: 614; sed: 166
file content (14 lines) | stat: -rw-r--r-- 479 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: avoid implicit declarations and add more header files
Index: gcal-4.1/src/tailor.h
===================================================================
--- gcal-4.1.orig/src/tailor.h	2018-08-14 13:21:09.207258629 +0200
+++ gcal-4.1/src/tailor.h	2018-08-14 13:21:09.199258629 +0200
@@ -590,6 +590,8 @@
 #  else	/* !MSDOS */
 # include <tmpdir.h>
 # include <stdio.h>
+# include <unistd.h>
+# include <stdlib.h>
 
 static char __buftmpfn[2048];
 static char *_tmpfn ()