File: 02_fix_implicit_declaration_strftime.diff

package info (click to toggle)
shush 1.2.3-5.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 820 kB
  • sloc: ansic: 5,515; sh: 2,706; lex: 69; makefile: 69; yacc: 54; awk: 31
file content (17 lines) | stat: -rw-r--r-- 490 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Description: Add missing preprocessor directive, resolving implicit
#     function declaration.
# Author: Daniel T Chen <seven.steps@gmail.com>
# Bug-Debian: http://bugs.debian.org/734510
# Last-Update: 2014-07-04
Index: shush/src/check.c
===================================================================
--- shush.orig/src/check.c
+++ shush/src/check.c
@@ -9,6 +9,7 @@
 
 #include <ctype.h>
 #include <fcntl.h>
+#include <time.h>
 #if defined(HAVE_PATHS_H)
 # include <paths.h>
 #else