blob: d5d720e49acd274dc78be2dc59b644ce7ef52c2c (
plain)
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
26
27
28
29
30
31
32
33
34
|
From 7327c2ae180ccdafb879f4181e6a6f636c23816d Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Sun, 5 Jun 2016 18:21:02 -0700
Subject: [PATCH] Add missing includes
stddef.h for offsetof
sys/param.h for MIN
---
sshfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sshfs.c b/sshfs.c
index 17f7d6a..42ff750 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -19,6 +19,7 @@
#endif
#include <assert.h>
#include <stdbool.h>
+#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -39,6 +40,7 @@
#include <sys/socket.h>
#include <sys/utsname.h>
#include <sys/mman.h>
+#include <sys/param.h>
#include <poll.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
--
2.24.0
|