Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/makefs/chfs Include missing header <unistd.h> for w...
details: https://anonhg.NetBSD.org/src/rev/df96756d2bed
branches: trunk
changeset: 350300:df96756d2bed
user: kamil <kamil%NetBSD.org@localhost>
date: Tue Jan 10 04:27:02 2017 +0000
description:
Include missing header <unistd.h> for write(2) read(2) close(2)
These functions are undefined after switch to new zlib.
diffstat:
usr.sbin/makefs/chfs/chfs_mkfs.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r e15f62072371 -r df96756d2bed usr.sbin/makefs/chfs/chfs_mkfs.c
--- a/usr.sbin/makefs/chfs/chfs_mkfs.c Tue Jan 10 01:53:25 2017 +0000
+++ b/usr.sbin/makefs/chfs/chfs_mkfs.c Tue Jan 10 04:27:02 2017 +0000
@@ -43,6 +43,7 @@
#include <string.h>
#include <zlib.h>
#include <util.h>
+#include <unistd.h>
#include "makefs.h"
#include "chfs_makefs.h"
Home |
Main Index |
Thread Index |
Old Index