blob: 17395addacb9a8eee3a4f5d69c77faac791a52d9 (
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 dd47e1904e2b7f7359008743769a02a77b4611e2 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 e4a44f1..dcc3707 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 <sys/poll.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
--
2.13.1
|