File: 04-fix-implicit-function-declaration.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 (23 lines) | stat: -rw-r--r-- 547 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
From: Andrey Rakhmatullin <wrar@debian.org>
Date: Tue, 18 Mar 2025 08:06:28 +0100
Subject: Add missing header includes.

Bug-Debian: https://bugs.debian.org/1066515
Last-Update: 2024-03-15
---
 src/luks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/luks.c b/src/luks.c
index e764c33..22b8e77 100644
--- a/src/luks.c
+++ b/src/luks.c
@@ -16,6 +16,8 @@
 #include <limits.h>
 #include <sys/stat.h>
 #include <libintl.h>
+#include <fcntl.h>
+#include <unistd.h>
 
 
 /* If CRYPTSETUP_RUID is set, we run cryptsetup with ruid = euid = 0.