Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2011 23:16:19 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218465 - head/sbin/hastd
Message-ID:  <201102082316.p18NGJVT063282@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pjd
Date: Tue Feb  8 23:16:19 2011
New Revision: 218465
URL: http://svn.freebsd.org/changeset/base/218465

Log:
  Explicitly include <sys/types.h> as suggested by getpid(2) and don't rely on
  <sys/un.h> including what's needed.
  
  MFC after:	1 week

Modified:
  head/sbin/hastd/proto_uds.c

Modified: head/sbin/hastd/proto_uds.c
==============================================================================
--- head/sbin/hastd/proto_uds.c	Tue Feb  8 23:08:20 2011	(r218464)
+++ head/sbin/hastd/proto_uds.c	Tue Feb  8 23:16:19 2011	(r218465)
@@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$");
 
 /* UDS - UNIX Domain Socket */
 
+#include <sys/types.h>
 #include <sys/un.h>
 
 #include <errno.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102082316.p18NGJVT063282>