Blob Blame History Raw
--- sched/sched_driver.cpp.orig	2009-02-04 00:51:45.000000000 +0100
+++ sched/sched_driver.cpp	2009-02-04 00:52:00.000000000 +0100
@@ -40,6 +40,7 @@
 #define HOSTID "7"
     // ID of a host belonging to that user
 
+#include <cstdio>
 #include <vector>
 #include "util.h"
 
--- lib/str_util.h.orig	2009-02-05 17:24:36.000000000 +0100
+++ lib/str_util.h	2009-02-05 17:28:46.000000000 +0100
@@ -38,7 +38,7 @@
 #endif
 
 #if !defined(HAVE_STRCASESTR)
-extern char *strcasestr(const char *s1, const char *s2);
+extern const char *strcasestr(const char *s1, const char *s2);
 #endif
 
 extern int ndays_to_string(double x, int smallest_timescale, char *buf);
--- sched/sched_util.cpp.orig	2009-02-05 17:34:18.000000000 +0100
+++ sched/sched_util.cpp	2009-02-05 17:39:20.000000000 +0100
@@ -104,7 +104,7 @@
 #else
 int try_fopen(const char* path, FCGI_FILE*& f, const char *mode) {
 #endif
-    char* p;
+    const char* p;
     DIR* d;
     char dirpath[256];