From 8f90e48da309c9e62b828c299dd813edfc817f96 Mon Sep 17 00:00:00 2001
From: Guo Wenxue <guowenxue@gmail.com>
Date: Wed, 24 Oct 2018 16:05:47 +0800
Subject: [PATCH] Update APUE ch1_fileIO source code, fix loss head file result to compile warinning on RPI bug

---
 ch1_fileIO/syserr.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ch1_fileIO/syserr.c b/ch1_fileIO/syserr.c
index 75a34ac..22f775b 100644
--- a/ch1_fileIO/syserr.c
+++ b/ch1_fileIO/syserr.c
@@ -1,6 +1,7 @@
 
 #include <stdio.h>
 #include <errno.h>
+#include <unistd.h>
 #include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>

--
Gitblit v1.9.1