mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 14:22:47 +08:00
a29126f785
* [tre] mingw support * [libmagic] Windows support * [libmagic] Apply @Neumann-A suggestions * [libmagic] Add host dependency Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * [libmagic] Copy the magic file to the corresponding tools dir * [ci baseline] libmagic now passes * Update ports/libmagic/portfile.cmake * [libmagic] Import patch from MSYS2 * [vcpkg baseline] Update libmagic, tre Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
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
|
|
|