1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-05-13 15:13:36 +00:00

vma-iter: Fix compilation error on FreeBSD 5.2.1.

* lib/vma-iter.c [FreeBSD]: Include <sys/param.h>.
This commit is contained in:
Bruno Haible
2023-10-15 08:38:43 +02:00
parent 645b803a59
commit 1c0fa149bd
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2023-10-15 Bruno Haible <bruno@clisp.org>
vma-iter: Fix compilation error on FreeBSD 5.2.1.
* lib/vma-iter.c [FreeBSD]: Include <sys/param.h>.
2023-10-14 Bruno Haible <bruno@clisp.org>
totalorder*: Document glibc bug on SH4.

View File

@@ -60,6 +60,7 @@
#if defined __FreeBSD__ || defined __FreeBSD_kernel__ /* FreeBSD, GNU/kFreeBSD */
# include <sys/types.h>
# include <sys/mman.h> /* mmap, munmap */
# include <sys/param.h> /* prerequisite of <sys/user.h> */
# include <sys/user.h> /* struct kinfo_vmentry */
# include <sys/sysctl.h> /* sysctl */
#endif