Module Name: src
Committed By: kamil
Date: Tue Jan 10 04:27:02 UTC 2017
Modified Files:
src/usr.sbin/makefs/chfs: chfs_mkfs.c
Log Message:
Include missing header <unistd.h> for write(2) read(2) close(2)
These functions are undefined after switch to new zlib.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/makefs/chfs/chfs_mkfs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/makefs/chfs/chfs_mkfs.c
diff -u src/usr.sbin/makefs/chfs/chfs_mkfs.c:1.7 src/usr.sbin/makefs/chfs/chfs_mkfs.c:1.8
--- src/usr.sbin/makefs/chfs/chfs_mkfs.c:1.7 Mon Mar 7 15:58:05 2016
+++ src/usr.sbin/makefs/chfs/chfs_mkfs.c Tue Jan 10 04:27:02 2017
@@ -43,6 +43,7 @@
#include <string.h>
#include <zlib.h>
#include <util.h>
+#include <unistd.h>
#include "makefs.h"
#include "chfs_makefs.h"