blob: 97e342216649be8b51a690a09d78c44f77c9116c [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001From b875c6e264eaf7350ad4e4ebf427692d8fd3cd72 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 29 Aug 2022 12:58:53 -0700
4Subject: [PATCH] socket-util: Include sys/stat.h for fchmod
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 lib/socket-util.c | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/lib/socket-util.c b/lib/socket-util.c
13index c7b5d6d..5b3d602 100644
14--- a/lib/socket-util.c
15+++ b/lib/socket-util.c
16@@ -42,6 +42,7 @@
17 #include <stdio.h>
18 #include <string.h>
19 #include <sys/resource.h>
20+#include <sys/stat.h>
21 #include <sys/un.h>
22 #include <unistd.h>
23 #include "fatal-signal.h"