diff options
author | Mark Johnston <markj@FreeBSD.org> | 2019-07-29 20:26:01 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2019-07-29 20:26:01 +0000 |
commit | 918988576c57ef3ee72ff36273e37b919c4c93d5 (patch) | |
tree | 63eb230b1e6067de7db1724bc47a722ffdd1b82d /sys/dev/bhnd | |
parent | 076574744c20de3296e8f9f9e0f7ef946a78a431 (diff) | |
download | src-918988576c57ef3ee72ff36273e37b919c4c93d5.tar.gz src-918988576c57ef3ee72ff36273e37b919c4c93d5.zip |
Avoid relying on header pollution from sys/refcount.h.
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=350421
Diffstat (limited to 'sys/dev/bhnd')
-rw-r--r-- | sys/dev/bhnd/nvram/bhnd_nvram_data_tlv.c | 1 | ||||
-rw-r--r-- | sys/dev/bhnd/nvram/bhnd_nvram_store.c | 1 | ||||
-rw-r--r-- | sys/dev/bhnd/nvram/bhnd_nvram_value.c | 1 | ||||
-rw-r--r-- | sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/bhnd/nvram/bhnd_nvram_data_tlv.c b/sys/dev/bhnd/nvram/bhnd_nvram_data_tlv.c index acd1c5f62d96..b510598c0910 100644 --- a/sys/dev/bhnd/nvram/bhnd_nvram_data_tlv.c +++ b/sys/dev/bhnd/nvram/bhnd_nvram_data_tlv.c @@ -33,6 +33,7 @@ __FBSDID("$FreeBSD$"); #ifdef _KERNEL #include <sys/param.h> #include <sys/ctype.h> +#include <sys/limits.h> #include <sys/malloc.h> #include <sys/systm.h> #else /* !_KERNEL */ diff --git a/sys/dev/bhnd/nvram/bhnd_nvram_store.c b/sys/dev/bhnd/nvram/bhnd_nvram_store.c index 77516ac9ca57..bc0354eb314c 100644 --- a/sys/dev/bhnd/nvram/bhnd_nvram_store.c +++ b/sys/dev/bhnd/nvram/bhnd_nvram_store.c @@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/hash.h> +#include <sys/limits.h> #include <sys/queue.h> #ifdef _KERNEL diff --git a/sys/dev/bhnd/nvram/bhnd_nvram_value.c b/sys/dev/bhnd/nvram/bhnd_nvram_value.c index a84a31498410..bea136581f3c 100644 --- a/sys/dev/bhnd/nvram/bhnd_nvram_value.c +++ b/sys/dev/bhnd/nvram/bhnd_nvram_value.c @@ -31,6 +31,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> +#include <sys/limits.h> #include <sys/sbuf.h> #ifdef _KERNEL diff --git a/sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c b/sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c index 3b3a288a5c97..e670b8b53711 100644 --- a/sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c +++ b/sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c @@ -31,6 +31,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> +#include <sys/limits.h> #include <sys/sbuf.h> #ifdef _KERNEL |