Fix lib/libc/sys/access_test after r311925
sys/param.h needs to be #included in order for __FreeBSD_version to be checked MFC after: 13 days
This commit is contained in:
parent
b28ea2c250
commit
35cfc322f1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=311968
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: t_access.c,v 1.2 2017/01/10 22:36:29 christos Exp $ */
|
||||
/* $NetBSD: t_access.c,v 2.2 2017/01/10 22:36:29 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2011 The NetBSD Foundation, Inc.
|
||||
@ -31,6 +31,10 @@
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: t_access.c,v 1.2 2017/01/10 22:36:29 christos Exp $");
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#include <sys/param.h> /* For __FreeBSD_version */
|
||||
#endif
|
||||
|
||||
#include <atf-c.h>
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
Loading…
Reference in New Issue
Block a user