Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
474 B

diff -Naur libofx-0.9.0.orig/config.h.in libofx-0.9.0/config.h.in
--- libofx-0.9.0.orig/config.h.in 2007-11-19 20:22:40.000000000 +0100
+++ libofx-0.9.0/config.h.in 2009-08-30 23:02:47.495791731 +0200
@@ -171,3 +171,13 @@
/* Define curl_free() as free() if our version of curl lacks curl_free. */
#undef curl_free
+
+#ifdef __cplusplus
+#include <ctime>
+#include <cstdlib>
+#include <cstring>
+#else
+#include <time.h>
+#include <stdlib.h>
+#include <string.h>
+#endif