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>
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to