rpc.c: added include file so UINT16_MAX is defined

Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
Steve Dickson 2017-06-22 13:03:50 -04:00
parent fe3c5826ff
commit 9725c5f3a1
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,20 @@
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>

View File

@ -16,6 +16,7 @@ Source4: lockd.conf
Source5: 24-nfs-server.conf Source5: 24-nfs-server.conf
Patch001: nfs-utils-2.1.2-rc4.patch Patch001: nfs-utils-2.1.2-rc4.patch
Patch002: nfs-utils-2.1.1-rpc-include.patch
Patch100: nfs-utils-1.2.1-statdpath-man.patch Patch100: nfs-utils-1.2.1-statdpath-man.patch
Patch101: nfs-utils-1.2.1-exp-subtree-warn-off.patch Patch101: nfs-utils-1.2.1-exp-subtree-warn-off.patch
@ -75,6 +76,7 @@ This package also contains the mount.nfs and umount.nfs program.
%setup -q %setup -q
%patch001 -p1 %patch001 -p1
%patch002 -p1
%patch100 -p1 %patch100 -p1
%patch101 -p1 %patch101 -p1
@ -290,6 +292,7 @@ fi
%changelog %changelog
* Wed Jun 21 2017 Steve Dickson <steved@redhat.com> 2.1.1-5.rc4 * Wed Jun 21 2017 Steve Dickson <steved@redhat.com> 2.1.1-5.rc4
- Updated to the latest RC releease: nfs-utils-2-1-2-rc4 (bz 1462218) - Updated to the latest RC releease: nfs-utils-2-1-2-rc4 (bz 1462218)
- rpc.c: added include file so UINT16_MAX is defined
* Thu Jun 1 2017 Steve Dickson <steved@redhat.com> 2.1.1-5.rc3 * Thu Jun 1 2017 Steve Dickson <steved@redhat.com> 2.1.1-5.rc3
- Updated to the latest RC releease: nfs-utils-2-1-2-rc3 (bz 1457921) - Updated to the latest RC releease: nfs-utils-2-1-2-rc3 (bz 1457921)