Clarify why sys/types.h #include is needed on FreeBSD

This commit is contained in:
Enji Cooper 2017-01-14 09:45:46 +00:00
parent c8300756f2
commit ecab856bc9
3 changed files with 3 additions and 3 deletions

View File

@ -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 <sys/types.h>
#include <sys/types.h> /* for kqueue(2) */
#endif
#include <sys/event.h>
#include <sys/time.h>

View File

@ -33,7 +33,7 @@
__RCSID("$NetBSD: t_proc3.c,v 1.3 2017/01/13 21:30:41 christos Exp $");
#ifdef __FreeBSD__
#include <sys/types.h>
#include <sys/types.h> /* for kqueue(2) */
#endif
#include <sys/event.h>
#include <sys/time.h>

View File

@ -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 <sys/types.h>
#include <sys/types.h> /* for kqueue(2) */
#endif
#include <sys/event.h>
#include <sys/ioctl.h>