From ecab856bc9e9367728ca5759add7363b007693d0 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sat, 14 Jan 2017 09:45:46 +0000 Subject: [PATCH] Clarify why sys/types.h #include is needed on FreeBSD --- contrib/netbsd-tests/kernel/kqueue/t_proc2.c | 2 +- contrib/netbsd-tests/kernel/kqueue/t_proc3.c | 2 +- contrib/netbsd-tests/kernel/kqueue/t_sig.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/netbsd-tests/kernel/kqueue/t_proc2.c b/contrib/netbsd-tests/kernel/kqueue/t_proc2.c index 49c621abe35c..5630df7bcd6c 100644 --- a/contrib/netbsd-tests/kernel/kqueue/t_proc2.c +++ b/contrib/netbsd-tests/kernel/kqueue/t_proc2.c @@ -35,7 +35,7 @@ __COPYRIGHT("@(#) Copyright (c) 2008\ __RCSID("$NetBSD: t_proc2.c,v 1.3 2017/01/13 21:30:41 christos Exp $"); #ifdef __FreeBSD__ -#include +#include /* for kqueue(2) */ #endif #include #include diff --git a/contrib/netbsd-tests/kernel/kqueue/t_proc3.c b/contrib/netbsd-tests/kernel/kqueue/t_proc3.c index bb20aedc278e..4822957868e4 100644 --- a/contrib/netbsd-tests/kernel/kqueue/t_proc3.c +++ b/contrib/netbsd-tests/kernel/kqueue/t_proc3.c @@ -33,7 +33,7 @@ __RCSID("$NetBSD: t_proc3.c,v 1.3 2017/01/13 21:30:41 christos Exp $"); #ifdef __FreeBSD__ -#include +#include /* for kqueue(2) */ #endif #include #include diff --git a/contrib/netbsd-tests/kernel/kqueue/t_sig.c b/contrib/netbsd-tests/kernel/kqueue/t_sig.c index 3557ba57bdca..dd6bc3e4355e 100644 --- a/contrib/netbsd-tests/kernel/kqueue/t_sig.c +++ b/contrib/netbsd-tests/kernel/kqueue/t_sig.c @@ -35,7 +35,7 @@ __COPYRIGHT("@(#) Copyright (c) 2008\ __RCSID("$NetBSD: t_sig.c,v 1.3 2017/01/13 21:30:41 christos Exp $"); #ifdef __FreeBSD__ -#include +#include /* for kqueue(2) */ #endif #include #include