Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 1 | From b875c6e264eaf7350ad4e4ebf427692d8fd3cd72 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Mon, 29 Aug 2022 12:58:53 -0700 |
| 4 | Subject: [PATCH] socket-util: Include sys/stat.h for fchmod |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 8 | --- |
| 9 | lib/socket-util.c | 1 + |
| 10 | 1 file changed, 1 insertion(+) |
| 11 | |
| 12 | diff --git a/lib/socket-util.c b/lib/socket-util.c |
| 13 | index 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" |