Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/getty need <sys/stat.h> for chmod



details:   https://anonhg.NetBSD.org/src/rev/506f912663c2
branches:  trunk
changeset: 350375:506f912663c2
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 10 21:08:15 2017 +0000

description:
need <sys/stat.h> for chmod

diffstat:

 libexec/getty/main.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 386cdfa29da7 -r 506f912663c2 libexec/getty/main.c
--- a/libexec/getty/main.c      Tue Jan 10 21:07:17 2017 +0000
+++ b/libexec/getty/main.c      Tue Jan 10 21:08:15 2017 +0000
@@ -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 @@
 #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>



Home | Main Index | Thread Index | Old Index