need <sys/stat.h> for chmod

This commit is contained in:
christos 2017-01-10 21:08:15 +00:00
parent 6aea766547
commit 7d85ef5c1f
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: main.c,v 1.65 2016/03/17 00:21:04 christos Exp $ */
/* $NetBSD: main.c,v 1.66 2017/01/10 21:08:15 christos Exp $ */
/*-
* Copyright (c) 1980, 1993
@ -40,13 +40,14 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\
#if 0
static char sccsid[] = "from: @(#)main.c 8.1 (Berkeley) 6/20/93";
#else
__RCSID("$NetBSD: main.c,v 1.65 2016/03/17 00:21:04 christos Exp $");
__RCSID("$NetBSD: main.c,v 1.66 2017/01/10 21:08:15 christos Exp $");
#endif
#endif /* not lint */
#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/resource.h>
#include <sys/stat.h>
#include <sys/utsname.h>
#include <ctype.h>