File: missing-prototypes.patch

package info (click to toggle)
lacheck 1.26-17.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 396 kB
  • sloc: makefile: 358
file content (20 lines) | stat: -rw-r--r-- 453 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
From: Andreas Beckmann <anbe@debian.org>
Date: Fri, 28 Jun 2024 09:01:17 +0200
Subject: fix building with -Werror=implicit-function-declaration

---
 lacheck.lex | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lacheck.lex b/lacheck.lex
index 5fc31ec..f13acc3 100644
--- a/lacheck.lex
+++ b/lacheck.lex
@@ -117,6 +117,7 @@
 
 #include <stdio.h>
 #include <string.h>
+#include <unistd.h>
 /* #include <sys/param.h> */
 
 /* extern char *realloc(); */