From d81310d55b9b7d07904c19f879f50e52fd7be489 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 06 Nov 2023 16:52:08 +0800
Subject: [PATCH] Add new code

---
 ch1_fileIO/dir.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ch1_fileIO/dir.c b/ch1_fileIO/dir.c
index e62a56e..f2cb0e8 100644
--- a/ch1_fileIO/dir.c
+++ b/ch1_fileIO/dir.c
@@ -1,12 +1,14 @@
 #include <stdio.h>
 #include <string.h>
+#include <unistd.h>
 #include <dirent.h>
 #include <errno.h>
 #include <sys/stat.h>
 #include <sys/types.h>
+#include <fcntl.h>
 
 
-#define TEST_DIR "dir"
+#define TEST_DIR "testdir"
 
 int main(int argc, char **argv)
 {

--
Gitblit v1.9.1