summaryrefslogtreecommitdiff
path: root/pkg/sshfs/patch/0006-Add-missing-includes.patch
blob: 29dc4f03376972f67423509d51f2d2baae3fcc34 (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 82b0a628df4a8190fc7db8342f8360f6da8c7067 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 2e7429b..04f1892 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.2