nfs-utils/nfs-utils-2.1.1-rpc-include.patch
Steve Dickson 9725c5f3a1 rpc.c: added include file so UINT16_MAX is defined
Signed-off-by: Steve Dickson <steved@redhat.com>
2017-06-22 13:03:50 -04:00

21 lines
525 B
Diff

commit ba03a02c2fd912f370e1f55de921a403bf5f9247
Author: Steve Dickson <steved@redhat.com>
Date: Thu Jun 22 12:56:41 2017 -0400
rpc.c: added include file so UINT16_MAX is defined.
Signed-off-by: Steve Dickson <steved@redhat.com>
diff --git a/support/nsm/rpc.c b/support/nsm/rpc.c
index 4e5f40e..0a8e56f 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>