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/8508f09ee9db
branches:  trunk
changeset: 820442:8508f09ee9db
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 99c5b793f3bd -r 8508f09ee9db 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