[gnumeric] compilation: make things compile again.
- From: Morten Welinder <mortenw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnumeric] compilation: make things compile again.
- Date: Fri, 13 Nov 2009 00:08:18 +0000 (UTC)
commit 09bb73936cac2e7f594f303ea9eba5db04f4aad3
Author: Morten Welinder <terra gnome org>
Date: Thu Nov 12 19:07:49 2009 -0500
compilation: make things compile again.
src/dialogs/dialog-solver.c | 1 +
src/go-data-slicer-field.c | 2 +-
src/tools/gnm-solver.h | 3 ++-
3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/dialogs/dialog-solver.c b/src/dialogs/dialog-solver.c
index 52ffbe6..bae1bbc 100644
--- a/src/dialogs/dialog-solver.c
+++ b/src/dialogs/dialog-solver.c
@@ -43,6 +43,7 @@
#include <commands.h>
#include <clipboard.h>
#include <tools/gnm-solver.h>
+#include <solver.h>
#include <widgets/gnumeric-expr-entry.h>
#include <glade/glade.h>
diff --git a/src/go-data-slicer-field.c b/src/go-data-slicer-field.c
index feeb0fc..4454d01 100644
--- a/src/go-data-slicer-field.c
+++ b/src/go-data-slicer-field.c
@@ -53,7 +53,7 @@ go_data_slicer_field_init (GODataSlicerField *dsf)
dsf->data_cache_field_indx = -1;
dsf->aggregations = 0;
- for (i = GDS_FIELD_TYPE_MAX ; i-- > GDS_FIELD_TYPE_UNSET ; )
+ for (i = 0 ; i < GDS_FIELD_TYPE_UNSET ; i++)
dsf->field_type_pos[i] = -1;
}
diff --git a/src/tools/gnm-solver.h b/src/tools/gnm-solver.h
index 9f4fbaf..42be1d8 100644
--- a/src/tools/gnm-solver.h
+++ b/src/tools/gnm-solver.h
@@ -3,7 +3,8 @@
#include <glib-object.h>
#include <gnumeric.h>
-#include <solver.h>
+#include <dependent.h>
+#include <numbers.h>
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]