diff -up -b denemo-1.0.0/src/fluid.c.orig denemo-1.0.0/src/fluid.c
--- denemo-1.0.0/src/fluid.c.orig	2013-03-27 16:33:22.997984736 +0100
+++ denemo-1.0.0/src/fluid.c	2013-03-29 11:19:18.774661137 +0100
@@ -15,6 +15,7 @@
 #include "fluid.h"
 #include "midi.h"
 #include "pitchentry.h"
+#include "utils.h"

 #include <fluidsynth.h>
 #include <glib.h>
diff -up -b denemo-1.0.0/src/mwidthdialog.c.orig denemo-1.0.0/src/mwidthdialog.c
--- denemo-1.0.0/src/mwidthdialog.c.orig	2013-03-27 16:33:23.017984838 +0100
+++ denemo-1.0.0/src/mwidthdialog.c	2013-03-29 10:54:27.654242178 +0100
@@ -95,7 +95,7 @@ score_mwidth_change (GtkAction *action,
 //  gtk_signal_connect_object (G_OBJECT (cancelbutton), "clicked",
 //			     GTK_SIGNAL_FUNC (gtk_widget_destroy),
 //			     G_OBJECT (dialog));
-  gtk_widget_show (cancelbutton);
+//  gtk_widget_show (cancelbutton);

   gtk_widget_grab_focus (textentry);
   gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
diff -up -b denemo-1.0.0/src/pitchentry.c.orig denemo-1.0.0/src/pitchentry.c
--- denemo-1.0.0/src/pitchentry.c.orig	2013-03-27 16:33:23.017984838 +0100
+++ denemo-1.0.0/src/pitchentry.c	2013-03-29 10:50:14.679211403 +0100
@@ -6,6 +6,7 @@
  */
 #include <math.h>
 #include <string.h> /* for strcmp() */
+#include <stdlib.h> /* for abs() */
 #include "audio.h"
 #include "pitchentry.h"
 #include "view.h"
diff -up -b denemo-1.0.0/src/scorelayout.c.orig denemo-1.0.0/src/scorelayout.c
--- denemo-1.0.0/src/scorelayout.c.orig	2013-03-27 16:33:23.033984918 +0100
+++ denemo-1.0.0/src/scorelayout.c	2013-03-29 11:25:53.657369276 +0100
@@ -17,6 +17,7 @@
 //      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 //      MA 02110-1301, USA.

+#include <string.h>

 #include "scorelayout.h"
 #include "exportlilypond.h"
@@ -177,7 +178,7 @@ static void navigate_to_location(GtkWidg
 	goto_movement_staff_obj (NULL, movementnum, staffnum, 1, 0);
 }

-static popup_staff_groups_menu(GtkWidget *button) {
+static void popup_staff_groups_menu(GtkWidget *button) {
 	GtkWidget *menuitem = gtk_ui_manager_get_widget (Denemo.ui_manager, "/ObjectMenu/StaffMenu/StaffGroupings");
 	if(get_standard_scoreblock(button)) {
 		if(menuitem)
@@ -858,11 +859,11 @@ static gchar *label_for_directive(Denemo
 					return etext;
 }

-static popup_movement_menu(GtkWidget *w, GtkWidget *vbox) {
+static void popup_movement_menu(GtkWidget *w, GtkWidget *vbox) {
 gtk_menu_popup (GTK_MENU(get_titles_menu(vbox)), NULL, NULL, NULL, NULL, 0,  GDK_CURRENT_TIME);
 }

-static popup_movement_titles_menu(GtkWidget *button) {
+static void popup_movement_titles_menu(GtkWidget *button) {
 	GtkWidget *menuitem = gtk_ui_manager_get_widget (Denemo.ui_manager, "/ObjectMenu/MovementMenu/Titles/Book Titles");
 	if(get_standard_scoreblock(button)) {
 	if(menuitem)
@@ -913,7 +914,7 @@ static void install_pre_movement_widgets
 		}
 }

-static popup_score_titles_menu(GtkWidget *button) {
+static void popup_score_titles_menu(GtkWidget *button) {
 	GtkWidget *menuitem = gtk_ui_manager_get_widget (Denemo.ui_manager, "/ObjectMenu/Score/Titles/Book Titles");
 	if(get_standard_scoreblock(button)) {
 	if(menuitem)
diff -up -b denemo-1.0.0/src/source.c.orig denemo-1.0.0/src/source.c
--- denemo-1.0.0/src/source.c.orig	2013-03-27 16:33:23.037984934 +0100
+++ denemo-1.0.0/src/source.c	2013-03-29 11:22:31.351565023 +0100
@@ -17,6 +17,8 @@
 //      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 //      MA 02110-1301, USA.

+#include <string.h>
+
 #include "source.h"
 #include <evince-view.h>

diff -up -b denemo-1.0.0/src/view.c.orig denemo-1.0.0/src/view.c
--- denemo-1.0.0/src/view.c.orig	2013-03-27 16:33:23.049984994 +0100
+++ denemo-1.0.0/src/view.c	2013-03-29 11:28:57.244262566 +0100
@@ -1919,7 +1919,7 @@ static SCM scheme_get_cursor_note (SCM o
  return scheme_mid_c_offsettoname(gui->si->cursor_y);
 }

-static SCM scheme_get_cursor_note_with_octave (SCM optional) {
+static void scheme_get_cursor_note_with_octave (SCM optional) {
   DenemoGUI *gui = Denemo.gui;
   scm_from_locale_string(mid_c_offsettolily(gui->si->cursor_y, 0));
 }
@@ -2104,7 +2104,7 @@ SCM scheme_get_note_base_duration(void){
  gint duration;
  if(!Denemo.gui || !(Denemo.gui->si) || !(Denemo.gui->si->currentobject) || !(curObj = Denemo.gui->si->currentobject->data) || (curObj->type!=CHORD) || !(thechord = (chord *)  curObj->object))
    return  SCM_BOOL_F;
- scm_from_int(thechord->baseduration);
+ return scm_from_int(thechord->baseduration);
 }

 SCM scheme_get_note_duration(void){
@@ -3923,7 +3923,7 @@ static SCM scheme_create_timebase(SCM op
   return SCM_BOOL_F;
 }

-static SCM scheme_pending_midi(SCM scm) {
+static void scheme_pending_midi(SCM scm) {
   guint key = scm_to_int(scm);
   g_queue_push_head(Denemo.gui->pending_midi, GINT_TO_POINTER(key));
 }
