Files
haikuports/dev-libs/libfilezilla/patches/libfilezilla-0.6.1.patchset
2016-10-21 17:47:39 -04:00

29 lines
570 B
Plaintext

From 9303bdc9ed9ff4099946102eca8bbf10a22dea04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Wed, 24 Aug 2016 20:59:54 +0200
Subject: [PATCH] Haiku patch
---
lib/time.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/time.cpp b/lib/time.cpp
index b434303..7400405 100644
--- a/lib/time.cpp
+++ b/lib/time.cpp
@@ -5,6 +5,11 @@
#include <sys/time.h>
#endif
+#ifdef __HAIKU__
+# define timegm rpl_timegm
+time_t timegm (struct tm *__tm);
+# endif
+
#include <wchar.h>
//#include <cassert>
--
2.7.0