svn commit: r218465 - head/sbin/hastd

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Feb 8 23:16:20 UTC 2011


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>


More information about the svn-src-all mailing list