summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/proto_uds.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2011-02-08 23:16:19 +0000
committerpjd <pjd@FreeBSD.org>2011-02-08 23:16:19 +0000
commit6543d03b931354fdbab3e83e273b87c539c81231 (patch)
tree5a5803cacdf663ed062b0c42004516214344e223 /sbin/hastd/proto_uds.c
parent4b7d2ad6a21bd90c918a821465d52c95c6559dc4 (diff)
downloadFreeBSD-src-6543d03b931354fdbab3e83e273b87c539c81231.zip
FreeBSD-src-6543d03b931354fdbab3e83e273b87c539c81231.tar.gz
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
Diffstat (limited to 'sbin/hastd/proto_uds.c')
-rw-r--r--sbin/hastd/proto_uds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/hastd/proto_uds.c b/sbin/hastd/proto_uds.c
index 91c98ad..13292c0 100644
--- a/sbin/hastd/proto_uds.c
+++ b/sbin/hastd/proto_uds.c
@@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$");
/* UDS - UNIX Domain Socket */
+#include <sys/types.h>
#include <sys/un.h>
#include <errno.h>
OpenPOWER on IntegriCloud