slackbuilds_ponce/libraries/libofx/libofx-0.9.5-gcc47.patch
Heinz Wiesinger d7f81dfe0c libraries/libofx: Fix building with gcc 4.7.
This slipped through before because it only happens when libxml++
is present on the system.

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2012-10-07 09:16:15 -04:00

11 lines
399 B
Diff

diff -ruN libofx-0.9.5.orig/ofxconnect/ofxpartner.cpp libofx-0.9.5/ofxconnect/ofxpartner.cpp
--- libofx-0.9.5.orig/ofxconnect/ofxpartner.cpp 2011-03-31 00:30:50.000000000 +0200
+++ libofx-0.9.5/ofxconnect/ofxpartner.cpp 2012-06-30 21:57:35.747989782 +0200
@@ -37,6 +37,7 @@
#include <vector>
#include <algorithm>
#include <string.h>
+#include <unistd.h>
using std::string;
using std::vector;