mirror of
https://github.com/opnsense/src.git
synced 2026-06-12 10:10:24 -04:00
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:
parent
c29cba408d
commit
7255a2969f
2 changed files with 4 additions and 0 deletions
|
|
@ -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 *);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue