freebsd-ports/news/PicMonger/files/patch-ad
Pav Lucistnik a3cd942cb8 - Unbreak: fix build on 5.X and above
PR:		ports/106201
Submitted by:	Peter Johnson <johnson.peter@gmail.com>
2006-12-02 13:05:53 +00:00

18 lines
529 B
Text

--- HtmlOptionState.cpp.orig Fri Jul 14 12:58:22 2000
+++ HtmlOptionState.cpp Fri Dec 1 22:39:45 2006
@@ -17,11 +17,15 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#ifdef __FreeBSD__
+#include <sys/types.h>
+#endif
#include "HtmlOptionState.h"
#include <fstream>
using std::ifstream;
using std::ofstream;
+using std::ios;
HtmlOptionState* HtmlOptionState::instance = 0;
HtmlOptionState* HtmlOptionState::Instance()