sffview/sffview-gcc43.diff

27 lines
705 B
Diff

Index: sfffile.cpp
===================================================================
--- sfffile.cpp.orig 2006-10-29 17:45:44.000000000 +0100
+++ sfffile.cpp 2009-02-26 18:48:42.000000000 +0100
@@ -33,6 +33,8 @@
#include <vector>
#include <iostream>
+#include <cstdlib>
+#include <cstring>
#include "sfftypes.h"
#include "common.h"
Index: common.cpp
===================================================================
--- common.cpp.orig 2006-10-29 17:45:44.000000000 +0100
+++ common.cpp 2009-02-26 18:49:32.000000000 +0100
@@ -34,7 +34,7 @@
#include "sfftypes.h"
#include "common.h"
#include "errno.h"
-
+#include <stdio.h>
#include <time.h>
#if defined(_MSC_VER)
#include <sys/utime.h>