Date: Tue, 2 Jan 2018 01:48:11 +0000 (UTC) From: Conrad Meyer <cem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r327483 - head/usr.sbin/rpcbind Message-ID: <201801020148.w021mBdi067852@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801020148.w021mBdi067852>