Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mvme68k/stand/wrtvid Include unistd.h for write(2) ...
details: https://anonhg.NetBSD.org/src/rev/12ab21a6ec22
branches: trunk
changeset: 447335:12ab21a6ec22
user: rin <rin%NetBSD.org@localhost>
date: Tue Jan 08 00:00:53 2019 +0000
description:
Include unistd.h for write(2) and close(2).
diffstat:
sys/arch/mvme68k/stand/wrtvid/wrtvid.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 75979f14ff9c -r 12ab21a6ec22 sys/arch/mvme68k/stand/wrtvid/wrtvid.c
--- a/sys/arch/mvme68k/stand/wrtvid/wrtvid.c Mon Jan 07 23:06:40 2019 +0000
+++ b/sys/arch/mvme68k/stand/wrtvid/wrtvid.c Tue Jan 08 00:00:53 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wrtvid.c,v 1.8 2008/04/28 20:23:29 martin Exp $ */
+/* $NetBSD: wrtvid.c,v 1.9 2019/01/08 00:00:53 rin Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -35,6 +35,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
/* mvme68k's boot block is 512 bytes long */
#define SIZEOF_VID 0x200
Home |
Main Index |
Thread Index |
Old Index