Use sys/param.h instead of sys/types.h to prep for upstreaming to NetBSD

This commit is contained in:
Enji Cooper 2017-01-16 18:17:53 +00:00
parent e2a4e9c682
commit 39a3103b41
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312300

View File

@ -32,7 +32,7 @@
__RCSID("$NetBSD: t_mlock.c,v 1.6 2016/08/09 12:02:44 kre Exp $");
#ifdef __FreeBSD__
#include <sys/types.h>
#include <sys/param.h> /* NetBSD requires sys/param.h for sysctl(3), unlike FreeBSD */
#endif
#include <sys/mman.h>
#include <sys/resource.h>