From 8c1e74ce61cbadbec431f70ed177e2bc791b8035 Mon Sep 17 00:00:00 2001 From: Simon Schubert Date: Wed, 28 May 2008 10:37:25 +0000 Subject: [PATCH] Include sys/fd_set.h in the BSD_VISIBLE case. Seems that a lot of software assumes that fd_set will be defined after including sys/types.h, so restore this property. Noted-by: hasso@ --- sys/sys/types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/sys/types.h b/sys/sys/types.h index 3eec97d55f..6240d7b877 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -37,7 +37,7 @@ * * @(#)types.h 8.6 (Berkeley) 2/19/95 * $FreeBSD: src/sys/sys/types.h,v 1.40.2.2 2001/04/21 14:53:06 ume Exp $ - * $DragonFly: src/sys/sys/types.h,v 1.20 2008/05/19 10:19:49 corecode Exp $ + * $DragonFly: src/sys/sys/types.h,v 1.21 2008/05/28 10:37:25 corecode Exp $ */ #ifndef _SYS_TYPES_H_ @@ -196,6 +196,8 @@ typedef __timer_t timer_t; #ifdef __BSD_VISIBLE +#include + #define NBBY 8 /* number of bits in a byte */ /* * These declarations belong elsewhere, but are repeated here and in -- 2.11.4.GIT