svn commit: r327483 - head/usr.sbin/rpcbind
Conrad Meyer
cem at FreeBSD.org
Tue Jan 2 01:48:12 UTC 2018
Author: cem
Date: Tue Jan 2 01:48:11 2018
New Revision: 327483
URL: https://svnweb.freebsd.org/changeset/base/327483
Log:
rpcbind: Fix build
Add missed unistd.h include. Not sure where it was lost; I believe it
compiled before I submitted the change.
PR: 224503
Reported by: Cy Schubert <Cy.Schubert AT komquats.com>
Sponsored by: Dell EMC Isilon
Modified:
head/usr.sbin/rpcbind/rpcb_svc_com.c
Modified: head/usr.sbin/rpcbind/rpcb_svc_com.c
==============================================================================
--- head/usr.sbin/rpcbind/rpcb_svc_com.c Tue Jan 2 00:48:19 2018 (r327482)
+++ head/usr.sbin/rpcbind/rpcb_svc_com.c Tue Jan 2 01:48:11 2018 (r327483)
@@ -54,13 +54,14 @@
#include <errno.h>
#include <syslog.h>
#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+#include <unistd.h>
#ifdef PORTMAP
#include <netinet/in.h>
#include <rpc/rpc_com.h>
#include <rpc/pmap_prot.h>
#endif /* PORTMAP */
-#include <string.h>
-#include <stdlib.h>
#include "rpcbind.h"
More information about the svn-src-all
mailing list