File: 16-explicitly-include-unistd.h.patch

package info (click to toggle)
osdsh 0.7.0-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 568 kB
  • sloc: ansic: 1,064; tcl: 335; makefile: 69
file content (20 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Andrej Shadura <andrewsh@debian.org>
Date: Mon, 4 Jan 2021 18:35:11 +0100
Subject: Explicitly include unistd.h

---
 src/osdctl/osdctl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/osdctl/osdctl.h b/src/osdctl/osdctl.h
index cb87af3..3644e6f 100644
--- a/src/osdctl/osdctl.h
+++ b/src/osdctl/osdctl.h
@@ -2,6 +2,6 @@
 #include <stdlib.h>
 #include <getopt.h>
 #include <linux/limits.h>
+#include <unistd.h>
 #include <sys/types.h>
 #include <signal.h>
-