stand: Don't need sys/select.h

The boot loader doesn't need the types and prototypes defined in
sys/select.h, so don't indirectly include it.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2024-11-19 20:17:31 -07:00
parent c29cba408d
commit 7255a2969f
2 changed files with 4 additions and 0 deletions

View file

@ -611,7 +611,9 @@ int tvtohz(struct timeval *tv);
#include <time.h>
#include <sys/cdefs.h>
#ifndef _STANDALONE
#include <sys/select.h>
#endif
__BEGIN_DECLS
int setitimer(int, const struct itimerval *, struct itimerval *);

View file

@ -311,7 +311,9 @@ typedef _Bool bool;
#if __BSD_VISIBLE
#ifndef _STANDALONE
#include <sys/select.h>
#endif
/*
* The major and minor numbers are encoded in dev_t as MMMmmmMm (where