File: 06-C99-implicit-function-declaration-fixes.patch

package info (click to toggle)
pmount 0.9.23-10
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,344 kB
  • sloc: sh: 10,190; ansic: 2,459; makefile: 72
file content (25 lines) | stat: -rw-r--r-- 630 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
21
22
23
24
25
From: Eduard Bloch <blade@debian.org>
Date: Tue, 18 Mar 2025 08:09:28 +0100
Subject: C99 implicit function declaration fixes

Actually a change contributed by Florian Weimer in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025973 .
---
 src/luks.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/luks.c b/src/luks.c
index 22b8e77..7c9edb1 100644
--- a/src/luks.c
+++ b/src/luks.c
@@ -14,8 +14,11 @@
 #include "policy.h"
 #include <stdio.h>
 #include <limits.h>
+#include <fcntl.h>
+#include <sys/mount.h>
 #include <sys/stat.h>
 #include <libintl.h>
+#include <unistd.h>
 #include <fcntl.h>
 #include <unistd.h>