diff options
| author | Edward Thomson <ethomson@microsoft.com> | 2015-04-29 11:05:27 -0400 |
|---|---|---|
| committer | Edward Thomson <ethomson@microsoft.com> | 2015-05-01 12:31:05 -0400 |
| commit | edbfc52cdd8657371c53070c5e09b58e004bb67a (patch) | |
| tree | 08e658ddc002071357397647aa5fa4453e56fe39 /src/unix | |
| parent | 544139f50bd7471a62135b29b6a1a2f7c64a1a1c (diff) | |
| download | libgit2-edbfc52cdd8657371c53070c5e09b58e004bb67a.tar.gz | |
git_path: introduce 'git_path_diriter'
Introduce a new `git_path_diriter` that can iterate directories
efficiently for each platform.
Diffstat (limited to 'src/unix')
| -rw-r--r-- | src/unix/posix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/posix.h b/src/unix/posix.h index e4f3ac67a..8b4f427f7 100644 --- a/src/unix/posix.h +++ b/src/unix/posix.h @@ -8,6 +8,7 @@ #define INCLUDE_posix__unix_h__ #include <stdio.h> +#include <dirent.h> #include <sys/param.h> typedef int GIT_SOCKET; |
