From 8a383b8715fc07145fdc3f3e3dbe6ecd93f72989 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 07 Jun 2020 00:06:57 +0800
Subject: [PATCH] update tlv_server program, add TLV parser support

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

diff --git a/ch1_fileIO/dir.c b/ch1_fileIO/dir.c
index e62a56e..e19f48d 100644
--- a/ch1_fileIO/dir.c
+++ b/ch1_fileIO/dir.c
@@ -1,9 +1,11 @@
 #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"

--
Gitblit v1.9.1