summaryrefslogtreecommitdiffstats
path: root/patches/nfs-utils-1.3.3/0002-rpc.c-added-include-file-so-UINT16_MAX-is-defined.patch
blob: 1242abbd27cc5926bb4bb599edd0a45ce9362d3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Steve Dickson <steved@redhat.com>
Date: Thu, 22 Jun 2017 12:56:41 -0400
Subject: [PATCH] rpc.c: added include file so UINT16_MAX is defined.

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 support/nsm/rpc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/support/nsm/rpc.c b/support/nsm/rpc.c
index 4e5f40e79d8f..0a8e56f0ca51 100644
--- a/support/nsm/rpc.c
+++ b/support/nsm/rpc.c
@@ -38,6 +38,7 @@
 #include <sys/socket.h>
 #include <sys/time.h>
 
+#include <stdint.h>
 #include <time.h>
 #include <stdbool.h>
 #include <string.h>