File: implicit.patch

package info (click to toggle)
uucp 1.07-31
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,180 kB
  • sloc: ansic: 53,821; sh: 4,477; makefile: 202; perl: 199
file content (16 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: fix compile error due to implicit function declaration
Index: uucp/unix/pipe.c
===================================================================
--- uucp.orig/unix/pipe.c	2024-03-16 19:03:45.075631292 +0100
+++ uucp/unix/pipe.c	2024-04-13 00:46:14.841462245 +0200
@@ -37,6 +37,10 @@
 
 #include <errno.h>
 
+/* needed for waitpid (XXX might be done with #if) */
+#include <sys/types.h>
+#include <sys/wait.h>
+
 #if HAVE_FCNTL_H
 #include <fcntl.h>
 #else