$OpenBSD$
An UpdateManager makes no sense on OpenBSD.

Index: desktop-widgets/mainwindow.h
--- desktop-widgets/mainwindow.h.orig
+++ desktop-widgets/mainwindow.h
@@ -80,7 +80,6 @@ class MainWindow : public QMainWindow { (public)
 	ProfileWidget2 *graphics() const;
 	PlannerDetails *plannerDetails() const;
 	void printPlan();
-	void checkSurvey();
 	void setApplicationState(const QByteArray& state);
 	void setStateProperties(const QByteArray& state, const PropertyList& tl, const PropertyList& tr, const PropertyList& bl,const PropertyList& br);
 	bool inPlanner();
@@ -132,10 +131,8 @@ slots:
 	/* other menu actions */
 	void on_actionAboutSubsurface_triggered();
 	void on_actionUserManual_triggered();
-	void on_actionUserSurvey_triggered();
 	void on_actionDivePlanner_triggered();
 	void on_actionReplanDive_triggered();
-	void on_action_Check_for_Updates_triggered();
 
 	void on_actionDiveSiteEdit_triggered();
 	void current_dive_changed(int divenr);
@@ -217,13 +214,11 @@ slots: (private)
 	void registerApplicationState(const QByteArray& state, QWidget *topLeft, QWidget *topRight, QWidget *bottomLeft, QWidget *bottomRight);
 	void enterState(CurrentState);
 	bool filesAsArguments;
-	UpdateManager *updateManager;
 
 	bool plannerStateClean();
 	void setupForAddAndPlan(const char *model);
 	void configureToolbar();
 	void setupSocialNetworkMenu();
-	QDialog *survey;
 	QDialog *findMovedImagesDialog;
 	struct dive copyPasteDive;
 	struct dive_components what;
@@ -255,8 +250,10 @@ slots: (private)
 
 	WindowTitleUpdate *wtu;
 	GpsLocation *locationProvider;
+#if defined(FBSUPPORT)
 	QMenu *connections;
 	QAction *share_on_fb;
+#endif
 };
 
 #endif // MAINWINDOW_H
