diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/cyrus-sasl/fix-gcc14-time-includes.diff | |
Diffstat (limited to 'vcpkg/ports/cyrus-sasl/fix-gcc14-time-includes.diff')
| -rw-r--r-- | vcpkg/ports/cyrus-sasl/fix-gcc14-time-includes.diff | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/vcpkg/ports/cyrus-sasl/fix-gcc14-time-includes.diff b/vcpkg/ports/cyrus-sasl/fix-gcc14-time-includes.diff new file mode 100644 index 0000000..f7417a9 --- /dev/null +++ b/vcpkg/ports/cyrus-sasl/fix-gcc14-time-includes.diff @@ -0,0 +1,26 @@ +diff --git a/lib/saslutil.c b/lib/saslutil.c +index 46c628c7..5341cbb3 100644 +--- a/lib/saslutil.c ++++ b/lib/saslutil.c +@@ -59,9 +59,7 @@ + #ifdef HAVE_UNISTD_H + #include <unistd.h> + #endif +-#ifdef HAVE_TIME_H + #include <time.h> +-#endif + #include "saslint.h" + #include <saslutil.h> + +diff --git a/plugins/cram.c b/plugins/cram.c +index d02e9baa..89c9308d 100644 +--- a/plugins/cram.c ++++ b/plugins/cram.c +@@ -52,6 +52,7 @@ + #include <sys/stat.h> + #endif + #include <fcntl.h> ++#include <time.h> + + #include <sasl.h> + #include <saslplug.h> |