25 lines
592 B
Diff
25 lines
592 B
Diff
|
From a8f8fbfc2736419c65992cbf24de963c3b1f3107 Mon Sep 17 00:00:00 2001
|
||
|
From: Long Nguyen <nguyen.long.908132@gmail.com>
|
||
|
Date: Sat, 8 May 2021 22:07:55 +0700
|
||
|
Subject: [PATCH 05/14] Include dirent.h for S_ISREG and S_ISDIR
|
||
|
|
||
|
---
|
||
|
src/file.h | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/src/file.h b/src/file.h
|
||
|
index 0332506..4aa9f60 100644
|
||
|
--- a/src/file.h
|
||
|
+++ b/src/file.h
|
||
|
@@ -88,6 +88,7 @@
|
||
|
/* Do this here and now, because struct stat gets re-defined on solaris */
|
||
|
#include <sys/stat.h>
|
||
|
#include <stdarg.h>
|
||
|
+#include <dirent.h>
|
||
|
|
||
|
#define ENABLE_CONDITIONALS
|
||
|
|
||
|
--
|
||
|
2.29.2.windows.2
|
||
|
|