need <sys/stat.h>

This commit is contained in:
christos 2017-01-10 20:57:26 +00:00
parent 0f64b50934
commit 22e2f96812
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: crash.c,v 1.10 2015/06/16 23:48:20 christos Exp $ */
/* $NetBSD: crash.c,v 1.11 2017/01/10 20:57:26 christos Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@ -31,13 +31,14 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: crash.c,v 1.10 2015/06/16 23:48:20 christos Exp $");
__RCSID("$NetBSD: crash.c,v 1.11 2017/01/10 20:57:26 christos Exp $");
#endif /* not lint */
#include <ddb/ddb.h>
#include <sys/fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <machine/frame.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: conffile.c,v 1.11 2013/11/19 16:42:16 christos Exp $ */
/* $NetBSD: conffile.c,v 1.12 2017/01/10 21:02:38 christos Exp $ */
/*
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@ -29,9 +29,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/mman.h>
#include <sys/stat.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/mman.h>
#include <ctype.h>
#include <fcntl.h>
#include <stdlib.h>