aboutsummaryrefslogtreecommitdiff
path: root/security/botan/files/patch-modules::tm_posix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'security/botan/files/patch-modules::tm_posix.cpp')
-rw-r--r--security/botan/files/patch-modules::tm_posix.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/botan/files/patch-modules::tm_posix.cpp b/security/botan/files/patch-modules::tm_posix.cpp
new file mode 100644
index 000000000000..4d39bdedc9e9
--- /dev/null
+++ b/security/botan/files/patch-modules::tm_posix.cpp
@@ -0,0 +1,11 @@
+--- modules/tm_posix/tm_posix.cpp.orig Sat Jun 26 14:32:53 2004
++++ modules/tm_posix/tm_posix.cpp Fri Jul 16 16:32:28 2004
+@@ -6,7 +6,7 @@
+ #define _POSIX_C_SOURCE 199309
+ #include <botan/tm_posix.h>
+ #include <botan/util.h>
+-#include <time.h>
++#include <sys/time.h>
+
+ #ifndef CLOCK_REALTIME
+ #define CLOCK_REALTIME 0