From 7856bf3569cc448fe3b360c3fca836593a0c0c7d Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Mon, 06 Nov 2023 17:01:27 +0800 Subject: [PATCH] format c source 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